Discussion:
how can I get the certificate for STARTTLS/IMAP connections?
Tomasz Chmielewski
2014-07-03 02:31:00 UTC
Permalink
Hello,

openssl let's me retrieve the SSL certificate for imaps (SSL-backed IMAP
on port 995) with the following command:


openssl s_client -connect example.com:995


Is it possible to do something similar for STARTTLS, connecting to IMAP
on port 143?

Perhaps not with openssl, or not only with openssl - does anyone know
how to do the above from command line?
--
Tomasz Chmielewski
http://www.sslrack.com

______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users-MCmKBN63+***@public.gmane.org
Automated List Manager majordomo-MCmKBN63+***@public.gmane.org
Jeffrey Walton
2014-07-03 02:46:24 UTC
Permalink
openssl let's me retrieve the SSL certificate for imaps (SSL-backed IMAP on
openssl s_client -connect example.com:995
Is it possible to do something similar for STARTTLS, connecting to IMAP on
port 143?
Take a look at the `-starttls` option for s_client(1) at
https://www.openssl.org/docs/apps/s_client.html.

Jeff
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users-MCmKBN63+***@public.gmane.org
Automated List Manager majordomo-MCmKBN63+***@public.gmane.org
Kyle Hamilton
2014-07-03 04:04:17 UTC
Permalink
Post by Tomasz Chmielewski
Hello,
openssl let's me retrieve the SSL certificate for imaps (SSL-backed
openssl s_client -connect example.com:995
Is it possible to do something similar for STARTTLS, connecting to
IMAP on port 143?
Perhaps not with openssl, or not only with openssl - does anyone know
how to do the above from command line?
On 1.0.1:

openssl s_client -starttls imap -connect example.com:143

-Kyle H

Continue reading on narkive:
Search results for 'how can I get the certificate for STARTTLS/IMAP connections?' (Questions and Answers)
4
replies
How Keep My Computer Safe When Using Wifi?
started 2012-12-17 15:32:16 UTC
security
Loading...