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

Sebastien Pouliot sebastien.pouliot at gmail.com
Sun Oct 18 11:57:34 EDT 2009


On Sun, 2009-10-18 at 01:17 -0700, funwun wrote:
> #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.

https://bugzilla.novell.com/show_bug.cgi?id=545015

Sebastien



More information about the Mono-list mailing list