[Mono-list] POP3 with SSL

Demax demax at wp.pl
Fri Oct 23 03:18:16 EDT 2009


     I have been testing the mail POP3 protocole of reaciving for a few days
now. Everything is fine until I want to use SSL encryption code, because i
reacive an exception: 



[  at
Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.validateCe
rtificates (Mono.Security.X509.X509CertificateCollection certificates)
[0x001ce]
 in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4.2.3\mcs\class\Mono.Security\Mon
o.Security.Protocol.Tls.Handshake.Client\TlsServerCertificate.cs:295
  at
Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.ProcessAsT
ls1 () [0x00054] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4.2.3\mcs\class\M
ono.Security\Mono.Security.Protocol.Tls.Handshake.Client\TlsServerCertificate.cs
:105
  at Mono.Security.Protocol.Tls.Handshake.HandshakeMessage.Process ()
[0x00037]
in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4.2.3\mcs\class\Mono.Security\Mono
.Security.Protocol.Tls.Handshake\HandshakeMessage.cs:105
  at (wrapper remoting-invoke-with-check)
Mono.Security.Protocol.Tls.Handshake.H
andshakeMessage:Process ()
  at Mono.Security.Protocol.Tls.ClientRecordProtocol.ProcessHandshakeMessage
(Mo
no.Security.Protocol.Tls.TlsStream handMsg) [0x00039] in
C:\cygwin\tmp\monobuild
\build\BUILD\mono-2.4.2.3\mcs\class\Mono.Security\Mono.Security.Protocol.Tls\Cli
entRecordProtocol.cs:81
  at Mono.Security.Protocol.Tls.RecordProtocol.InternalReceiveRecordCallback
(IA
syncResult asyncResult) [0x00127] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.
4.2.3\mcs\class\Mono.Security\Mono.Security.Protocol.Tls\RecordProtocol.cs:397
  --- End of inner exception stack trace ---
  at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback
(IAsyncResu
lt asyncResult) [0x0002a] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4.2.3\mc
s\class\Mono.Security\Mono.Security.Protocol.Tls\SslStreamBase.cs:102 ]


      If anyone administrate an example for mail reaciveig through POP3 SSL
on MONO platform I would be graceful. I use Windows Vista Ultimate and
Visual Studio 2008.   

-- 
View this message in context: http://www.nabble.com/POP3-with-SSL-tp26021641p26021641.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list