[Mono-dev] System.Web.Mail and TLS
vladimirk at mainsoft.com
Wed Mar 22 03:47:06 EST 2006
I've imported my server's certificate using certmgr, the import was
successful and I can see it by "certmfr -list" command, but I still get
the same exception.
From: Sebastien Pouliot [mailto:sebastien.pouliot at gmail.com]
Sent: Tuesday, March 21, 2006 9:12 PM
To: Vladimir Krasnov
Cc: mono-devel-list at lists.ximian.com
Subject: Re: [Mono-dev] System.Web.Mail and TLS
On Tue, 2006-03-21 at 10:17 -0800, Vladimir Krasnov wrote:
> I'm working now on sending email over SSL connection using
> System.Web.Mail API. This feature requires connection to SMTP server
> be changed to SSL connection after EHLO command. I've implemented
> ChangeToSSLSocket (look attached patch),
> but I always get a
> TlsException, even if I have well known certificate from trusted CA.
This has been a common question on the mailing-list.
Did you read the FAQ on Mono project wiki ?
> Unhandled Exception: System.Web.HttpException: The authentication or
> decryption has failed. ---> System.IO.IOException: The authentication
> decryption has failed. ---> Mono.Security.Protocol.Tls.TlsException:
> Invalid certificate received form server.
> Please take a look at this code and suggest what to do.
> Vladimir Krasnov.
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
More information about the Mono-devel-list