Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Commands to Check SSL cert’s validity and other details  (Read 2555 times)

0 Members and 1 Guest are viewing this topic.

Aby

  • Guest
Commands to Check SSL cert’s validity and other details
« on: November 01, 2013, 09:06:21 pm »
Commands to Check SSL cert’s validity and other details

1. Get complete available details of an SSL certificate

    openssl x509 -text -in ssl.cert

2. Who issued the certificate?

   openssl x509 -noout -in ssl.cert -issuer

3. To whom the certificate was issued?

    openssl x509 -noout -in ssl.cert -subject

4. To check the expiry date of SSL certificate

   openssl x509 -noout -in ssl.cert -dates

5. To get SSL cert’s hash value

    openssl x509 -noout -in ssl.cert -hash

6. To get SSL cert’s MD5 fingerprint

    openssl x509 -noout -in ssl.cert -fingerprint

7)To check CSR

   openssl req -noout -text -in new.csr

8)To check key

   openssl rsa -noout -text -in new.key

===
« Last Edit: November 01, 2013, 09:10:03 pm by Aby »