单声道证书问题:不支持的散列算法:1.2.840.10045.4.3.3

时间:2015-08-03 07:45:15

标签: mono certificate

我在ubuntu 14.04中运行mono v3.2.8并且在升级操作系统之前它运行良好。运行我的NodeJS应用程序时出错(使用edge.js与mono进行通信):

Error getting response stream (Write: The authentication or decryption has failed.): SendFailure

我认为这是可以通过运行命令解决的同一个旧bug:

$ mozroots --import --ask-remove

但事实并非如此,我仍然有错误。在检查到这个错误之前,我会检查所有内容:

$ certmgr -list -c -v Trust
...
X.509 v3 Certificate
  Serial Number: 2A99639B9E014C5450700062AAAF471F
  Issuer Name:   C=GB, S=Greater Manchester, L=Salford, O=COMODO CA Limited, CN=COMODO ECC Certification Authority
  Subject Name:  C=GB, S=Greater Manchester, L=Salford, O=COMODO CA Limited, CN=COMODO ECC Certification Authority
  Valid From:    3/6/2008 12:00:00 AM
  Valid Until:   1/18/2038 11:59:59 PM
  Unique Hash:
  Key Algorithm:        1.2.840.10045.2.1
  Algorithm Parameters: 06052B81040022
  Public Key:          /* some public key */
  Signature Algorithm:  1.2.840.10045.4.3.3
  Algorithm Parameters: None

Unhandled Exception:
System.Security.Cryptography.CryptographicException: Unsupported hash algorithm: 1.2.840.10045.4.3.3
  at Mono.Security.X509.X509Certificate.get_Signature () [0x00000] in <filename unknown>:0
  at Mono.Tools.CertificateManager.DisplayCertificate (Mono.Security.X509.X509Certificate x509, Boolean machine, Boolean verbose) [0x00000] in <filename unknown>:0
  at Mono.Tools.CertificateManager.List (ObjectType type, Mono.Security.X509.X509Store store, Boolean machine, System.String file, Boolean verbose) [0x00000] in <filename unknown>:0
  at Mono.Tools.CertificateManager.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.Security.Cryptography.CryptographicException: Unsupported hash algorithm: 1.2.840.10045.4.3.3
  at Mono.Security.X509.X509Certificate.get_Signature () [0x00000] in <filename unknown>:0
  at Mono.Tools.CertificateManager.DisplayCertificate (Mono.Security.X509.X509Certificate x509, Boolean machine, Boolean verbose) [0x00000] in <filename unknown>:0
  at Mono.Tools.CertificateManager.List (ObjectType type, Mono.Security.X509.X509Store store, Boolean machine, System.String file, Boolean verbose) [0x00000] in <filename unknown>:0
  at Mono.Tools.CertificateManager.Main (System.String[] args) [0x00000] in <filename unknown>:0

我想也许这些错误是相关的,但不知道如何解决这个问题。重新安装单声道没有帮助。有没有可能的解决方案?任何帮助将不胜感激!

0 个答案:

没有答案