[Mono-list] Does Mono support System.Net.Http.HttpContentExtensions?

Brett Ernst brett.e.ernst at gmail.com
Tue Jul 22 02:24:05 UTC 2014


(Sorry if this comes through twice, browser crashed while sending).

In these kinds of situations I've often found strace (or dtruss on Mac) to
be helpful. Could reveal if it's failing to open/find some resource. Also,
I've had weird problems with secure connections when some dependency or
nuget package includes an old version of Mono.Security.dll. I'd make sure
there are no local copies of that dll floating around.

- Brett


On Mon, Jul 21, 2014 at 3:09 PM, andresp <andredasilvapinto at gmail.com>
wrote:

> Thanks Brett, but I had no luck.
>
> On Linux:
>
> "usr/lib/mono/4.5$ sudo mozroots --import --sync
> Mozilla Roots Importer - version 3.2.8.0
> Download and import trusted root certificates from Mozilla's MXR.
> Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD
> licensed.
>
> Downloading from '
> http://mxr.mozilla.org/seamonkey/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1'.
> ..
> Importing certificates into user store...
> Import process completed."
>
>
> Ran the program and got the same error.
>
>
>
> On Windows id doesn't even import the certificates:
>
> "C:\Program Files (x86)\Mono-3.2.3\lib\mono\4.5>mozroots --import --sync
> Mozilla Roots Importer - version 3.3.0.0
> Download and import trusted root certificates from Mozilla's MXR.
> Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD
> licensed.
>
> Downloading from '
> http://mxr.mozilla.org/seamonkey/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1'.
> ..
> Couldn't retrieve the file using the supplied information.
>
> C:\Program Files (x86)\Mono-3.2.3\lib\mono\4.5>mozroots --import
> Mozilla Roots Importer - version 3.3.0.0
> Download and import trusted root certificates from Mozilla's MXR.
> Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD
> licensed.
>
> Downloading from '
> http://mxr.mozilla.org/seamonkey/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1'.
> ..
> Importing certificates into user store...
> Error: System.NullReferenceException: Object reference not set to an
> instance of an object.
>    in Mono.Security.X509.X509Certificate.get_Hash()
>    in Mono.Security.X509.X509CertificateCollection.IndexOf(X509Certificate
> value)
>    in
> Mono.Security.X509.X509CertificateCollection.Contains(X509Certificate value)
>    in Mono.Tools.MozRoots.Process()
>    in Mono.Tools.MozRoots.Main(String[] args)
> "
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20140721/fdded5c8/attachment.html>


More information about the Mono-list mailing list