I want to run aspnet 5.0 on Linux with latest build of Mono. I was able to successfully install mono 4.1.0 from github/master. When I tried to install the certificates, I get the below error
In case the image is not clear the error says
System.IO.IOException: The authentication or decryption has failed. ---> System.IO.IOException: The authentication or decryption has failed. ---> Mono.Security.Protocol.Tls.TlsException: The authentication or decryption has failed.
Anybody facing this issue and have a solution? I cannot continue installation of aspnet packages unless this is fixed and I wasn't able to get any solution from my online searches. Additional info, when i run 'sudo mozroots --import --sync' I get the error
sudo mozroots --import --sync
Mozilla Roots Importer - version 4.1.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.
Seems mozroots
is your problem. As a workaround you can do this:
wget -q 'http://mxr.mozilla.org/seamonkey/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1' -O "/tmp/certdata.txt"
mozroots --import --ask-remove --file /tmp/certdata.txt
The full story could be found here: https://bugzilla.mozilla.org/show_bug.cgi?id=1279952#c8
And the better suggestion is
Console.WriteLine ("WARNING: mozroots is deprecated, please move to cert-sync instead.");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With