![]() Show the all above information about the SSL certificate, at once: $ echo | openssl s_client -servername -connect :443 2>/dev/null | openssl x509 -noout -issuer -subject -dates Subject= /CN=Check for what dates the SSL certificate is valid: $ echo | openssl s_client -servername -connect :443 2>/dev/null | openssl x509 -noout -dates Issuer= /C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3Ĭheck whom the SSL certificate is issued to: $ echo | openssl s_client -servername -connect :443 2>/dev/null | openssl x509 -noout -subject OpenSSL: Check SSL Certificate – Additional Informationīesides of the validity dates, an SSL certificate contains other interesting information.Įach SSL certificate contains the information about who has issued the certificate, whom is it issued to, already mentioned validity dates, SSL certificate’s SHA1 fingerprint and some other data.Īll these data can retrieved from a website’s SSL certificate using the openssl utility from the command-line in Linux.Ĭheck who has issued the SSL certificate: $ echo | openssl s_client -servername -connect :443 2>/dev/null | openssl x509 -noout -issuer Info: Run man s_client to see the all available options.Īs an example, let’s use the openssl to check the SSL certificate expiration date of the website: $ echo | openssl s_client -servername -connect 2>/dev/null | openssl x509 -noout -dates ![]() The TLS SNI (Server Name Indication) extension (website). Run the following one-liner from the Linux command-line to check the SSL certificate expiration date, using the openssl: $ echo | openssl s_client -servername NAME -connect HOST: PORT 2>/dev/null | openssl x509 -noout -dates Linux users can easily check an SSL certificate from the Linux command-line, using the openssl utility, that can connect to a remote website over HTTPS, decode an SSL certificate and retrieve the all required data.Ĭool Tip: If your SSL certificate expires soon – you will need to generate a new CSR! In Linux this can be easily done with a simple one-liner! Read more → Check SSL Certificate Expiration Date If you have any problems using the SSL Checker to verify your SSL certificate installation, please contact us.From this article you will learn how to connect to a website over HTTPS and check its SSL certificate expiration date from the Linux command-line.īesides of validity dates, i’ll show how to view who has issued an SSL certificate, whom is it issued to, its SHA1 fingerprint and the other useful information. ![]() Openssl s_client -connect For a more detailed report of the SSL security of your server (including revocation, cipher, and protocol information), check your site using SSL Labs' SSL Server Test. You can check SSL installations on internal names by downloading OpenSSL and running this OpenSSL command: SSL Checker entries may be cached up to a day after repeated checking to conserve server resources.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |