Blog › Security · Published 2026-11-26

How to show a remote SSL certificate with OpenSSL

Fetch and print a remote certificate:

openssl s_client -connect example.com:443 -servername example.com </dev/null 2>/dev/null | openssl x509 -noout -subject -issuer -dates

Official sources

Need help with your project?
We build websites, systems and automation. Start your project WhatsApp

All articles