Test SSL from my host to neighbor host
$ openssl s_client -host <localhost> -port 443
$ openssl s_client -host <localhost> -port 443 -quiet
$ openssl s_client -showcerts -connect <localhost>:<port>
$ openssl s_client -verify_return_error -connect <localhost>:<port>
show expire date cert
$ openssl s_client -connect <localhost>:<port>| openssl x509 -noout -dates
ref: https://www.cyberciti.biz/faq/find-check-tls-ssl-certificate-expiry-date-from-linux-unix/