Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error: Start SSL negotiation command failed

650 views
Skip to first unread message

L. Michael Asher

unread,
Oct 13, 2010, 2:01:25 PM10/13/10
to
I am using the OpenSSL dlls libeay32 and ssleay32 to send SMTP email using TLS.  My code works fine on most machines, but on one particular computer, it fails with the error:
 
"Start SSL negotiation command failed"
 
Whenever I try to connect to the mail server.   This machine is a Windows 7 32 bit install.  Can anyone shed some light on what might cause this, or how I can best debug the problem?
 
Thanks,
 

L. Michael Asher

unread,
Oct 14, 2010, 6:48:58 AM10/14/10
to
Sorry, I meant to say that appears to be an error generated by the parent library whenever the SMTP server says it doesn't accept TLS (or won't on that specific port at least).  It may be that the OpenSSL libs are not even being loaded at the point the error is appearing.

Victor Duchovni

unread,
Oct 14, 2010, 2:27:02 PM10/14/10
to

On many Windows systems, Anti-Virus software wants to inspect port 25
traffic and modifies TCP traffic to reject "STARTTLS".

This is likely not an OpenSSL issue. You should look at the TCP traffic
seen on the wire and likely observe that no TLS handshake was attempted.

--
Viktor.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openss...@openssl.org
Automated List Manager majo...@openssl.org

0 new messages