Todd Thatcher wrote:

> Using the command  “openssl s_client –connect gmail.google.com:443”
> openssl gets the certificate information and stays connected until I enter
QUIT,
> or the timeout is hit -- about 2 minutes later.   I want to script
certificate
> expiration date checks for out servers. Is there a command-line switch or
some
> other advice that I can use to change this behavior?  

Two ideas:

1) echo "QUIT" | openssl s_client -connect gmail.google.com:443

2) openssl s_client -connect gmail.google.com:443 < /dev/null

DS



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to