Re: using openssl s_client with uw servers

Andrew Daviel <[email protected]> Fri, 12 Nov 2010 13:40:44 -0800 (PST)
Newsgroups gmane.mail.imap.uw.c-client
Message-ID <[email protected]>
On Tue, 9 Nov 2010, Andrew Daviel wrote:

>
> Has anyone used openssl with UW imapd/pop3d to check certificates ?
>
> I use it to check pop3s on port 995, and imaps on port 993. That works 
> OK,e.g.
>
> echo 0 LOGOUT|openssl s_client -showcerts -connect $host:993

> Any ideas ? Do I need some particular option on the command line ?

FYI, fixed it. I just needed to add "-tls1", viz.

echo 0 logout | openssl s_client -showcerts -starttls imap -connect $host:143 -tls1