openssl s_client

OpenSSL command to create TLS client connections.
More information.
openssl s_client -connect {host}:{port} 2>/dev/null | openssl x509 -noout -dates
openssl s_client -connect {host}:{port} 


openssl s_client -connect {host}:443 -showcerts 


Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
CC-BY