Having TLS certificate in local file, I can display its details using syntax like:
openssl x509 -text -noout -in cert_filename
Is there any way to display remote SMTP/POP3/HTTP server's TLS certificate in this same format in bash terminal?
openssl s_client -connect server:port display some informations. Maybe is it sufficient for you. It is not exactly the same format, but it can help.
openssl s_client -connect server:port
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
2 years ago