我想在Linux上使用最新版本的Mono运行aspnet 5.0.我能够从github/master成功安装mono 4.1.0.当我尝试安装证书时,出现以下错误

如果图像不清晰,则表示错误
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.
Run Code Online (Sandbox Code Playgroud)
任何人都面临这个问题并有解决方案?我无法继续安装aspnet软件包,除非这是修复的,我无法从我的在线搜索中获得任何解决方案.其他信息,当我运行'sudo mozroots --import --sync'时,我收到错误
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.
Run Code Online (Sandbox Code Playgroud)
似乎mozroots是你的问题.作为一种解决方法,您可以这样做:
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
Run Code Online (Sandbox Code Playgroud)
完整的故事可以在这里找到:https://bugzilla.mozilla.org/show_bug.cgi?id = 1279952#c8
更好的建议是
Console.WriteLine ("WARNING: mozroots is deprecated, please move to cert-sync instead.");
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2067 次 |
| 最近记录: |