I think I understand how I was wrong, most of the stuff I
work with negotiates the secure connection immediately,
such as web on 443 (https) and ldaps (667?).  I see that
if there was a reqired interaction before switching over
into secure mode (which is TLS rather than SSL?) that it
might not be so easy.  Sorry for the incomplete info.

Lutz Jaenicke wrote:

On Wed, Jun 23, 2004 at 07:47:35AM -0400, Charles Cranston wrote:

It's not hard at all to use openssl s_client to try to
make a connection and to see the certificate that is
being presented by the server.  If you use the -showcerts
option it will even show the entire certificate chain being
presented by the server, instead of just the end-user cert.

I have good luck copying the PEM cert text right off the
terminal screen, then pasting into an openssl x509 -noout
-text in another terminal window (thus pasting into its
standard input).  Then again, this is a Macintosh, and I
think we had less luck doing the copy/paste thing on a
Windows machine.

Not sure if the problem is in the copy or the paste.
Maybe pasting to a text editor in input mode?


While your concept is correct, it did fail in this case.
The mail server requires the STARTTLS protocol to be spoken after
an enforced EHLO, but the s_client application does not implement
enough of the ESMTP protocol.

Best regards,
        Lutz

-- Charles B (Ben) Cranston mailto: [EMAIL PROTECTED] http://www.wam.umd.edu/~zben

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to