On Fri, Dec 17, 2010 at 03:11:54PM +0530, Kingston Smiler wrote:

> Is there any way to identify whether the other end supports TLS or not.

Only if the application protocol supports a way to negotiate TLS (e.g.
SMTP, IMAP, telnet, ... with STARTTLS), or the service in question is
layered over TLS by design (https, imaps, pops, ...).

Otherwise, and in general, it is impossible to safely determine whether
the remote service supports TLS, an unexpected or missing SSL handshake
will confuse a peer which runs something other than the attempted protocol.

-- 
        Viktor.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [email protected]

Reply via email to