Skip to content

Instantly share code, notes, and snippets.

@saurabh360
Created June 18, 2014 10:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saurabh360/13bef22c2294ad9afd99 to your computer and use it in GitHub Desktop.
Save saurabh360/13bef22c2294ad9afd99 to your computer and use it in GitHub Desktop.
ERROR building certificate chain: System.ArgumentException: certificate ---> System.Security.Cryptography.CryptographicException: Unable to decode public key. ---> System.NullReferenceException: Object reference not set to an instance of an object
at System.Security.Cryptography.X509Certificates.PublicKey..ctor (Mono.Security.X509.X509Certificate certificate) [0x00000] in <filename unknown>:0
at System.Security.Cryptography.X509Certificates.X509Certificate2.get_PublicKey () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Security.Cryptography.X509Certificates.X509Certificate2.get_PublicKey () [0x00000] in <filename unknown>:0
at System.Security.Cryptography.X509Certificates.X509Chain.ValidateChain (X509ChainStatusFlags flag) [0x00000] in <filename unknown>:0
at System.Security.Cryptography.X509Certificates.X509Chain.Build (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Security.Cryptography.X509Certificates.X509Chain.Build (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) [0x00000] in <filename unknown>:0
at System.Net.ServicePointManager+ChainValidationHelper.ValidateChain (Mono.Security.X509.X509CertificateCollection certs) [0x00000] in <filename unknown>:0
Please, report this problem to the Mono team
[Mono] The request to load the assembly System v2.0.5.0 was remapped to v2.0.0.0
ERROR building certificate chain: System.ArgumentException: certificate ---> System.Security.Cryptography.CryptographicException: Unable to decode public key. ---> System.NullReferenceException: Object reference not set to an instance of an object
at System.Security.Cryptography.X509Certificates.PublicKey..ctor (Mono.Security.X509.X509Certificate certificate) [0x00000] in <filename unknown>:0
at System.Security.Cryptography.X509Certificates.X509Certificate2.get_PublicKey () [0x00000] in <filename unknown>:0
[Mono] Unloading image System.dll [0x7e388880].
[Mono] Image addref System[0x7e35c920] -> System.dll[0x7cb08d38]: 16
--- End of inner exception stack trace ---
at System.Security.Cryptography.X509Certificates.X509Certificate2.get_PublicKey () [0x00000] in <filename unknown>:0
at System.Security.Cryptography.X509Certificates.X509Chain.PrepareForNextCertificate (Int32 n) [0x00000] in <filename unknown>:0
at System.Security.Cryptography.X509Certificates.X509Chain.ValidateChain (X509ChainStatusFlags flag) [0x00000] in <filename unknown>:0
at System.Security.Cryptography.X509Certificates.X509Chain.Build (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Security.Cryptography.X509Certificates.X509Chain.Build (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) [0x00000] in <filename unknown>:0
at System.Net.ServicePointManager+ChainValidationHelper.ValidateChain (Mono.Security.X509.X509CertificateCollection certs) [0x00000] in <filename unknown>:0
Please, report this problem to the Mono team
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment