[Mono-dev] System.Web.Mail and TLS
sebastien.pouliot at gmail.com
Tue Mar 21 14:11:44 EST 2006
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 to
> be changed to SSL connection after EHLO command. I've implemented method
> 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 or
> 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