[Mono-list] when I use certmgr -ssl -m https://pop.gmail.com:995, get error message.

funwun kekuer at gmail.com
Sun Oct 18 04:17:21 EDT 2009


#certmgr -ssl -m https://pop.gmail.com:995


Mono Certificate Manager - version 2.4.2.1
Manage X.509 certificates and CRL from stores.
Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD
licensed.


 X.509 Certificate v3
   Issued from: C=US, O=Equifax, OU=Equifax Secure Certificate Authority
   Issued to:   C=US, O=Google Inc, CN=Google Internet Authority
   Valid from:  6/8/2009 10:43:27 PM
   Valid until: 6/7/2013 9:43:27 PM
   *** WARNING: Certificate signature is INVALID ***
Import this certificate into the CA store ?y

 X.509 Certificate v3
   Issued from: C=US, O=Google Inc, CN=Google Internet Authority
   Issued to:   C=US, S=California, L=Mountain View, O=Google Inc,
CN=pop.gmail.com
   Valid from:  7/17/2009 7:16:55 PM
   Valid until: 7/17/2010 7:26:55 PM
Import this certificate into the AddressBook store ?y

2 certificates added to the stores.


after this, I use the tcp to connect pop.gmail.com:995 with ssl, but get
this:

Unhandled Exception: System.IO.IOException: The authentication or decryption
has failed. ---> Mono.Security.Protocol.Tls.TlsException: Invalid
certificate received from server.
  at
Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.validateCertificates
(Mono.Security.X509.X509CertificateCollection certificates) [0x00000] 
  at
Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.ProcessAsTls1
() [0x00000] 
  at Mono.Security.Protocol.Tls.Handshake.HandshakeMessage.Process ()
[0x00000] 
  at (wrapper remoting-invoke-with-check)
Mono.Security.Protocol.Tls.Handshake.HandshakeMessage:Process ()
  at Mono.Security.Protocol.Tls.ClientRecordProtocol.ProcessHandshakeMessage
(Mono.Security.Protocol.Tls.TlsStream handMsg) [0x00000] 
  at Mono.Security.Protocol.Tls.RecordProtocol.InternalReceiveRecordCallback
(IAsyncResult asyncResult) [0x00000] 
  --- End of inner exception stack trace ---
  at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback
(IAsyncResult asyncResult) [0x00000] 




WHY and HOW to fix it? thanks very much.
-- 
View this message in context: http://www.nabble.com/when-I-use-certmgr--ssl--m-https%3A--pop.gmail.com%3A995%2C-get-error-message.-tp25944559p25944559.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list