Open SSL HowTo: Decode SSL Certificate

Waht is an SSL Certificate? SSL Certificate provides security for your website by encrypting communications between the server and the person visiting the website.

It contains information about your Organization and Certificate Authority. It also contains the public key.

Run these OpenSSL commands, to decode your SSL Certificate, and verify that it contains the correct information.

Extract information from the SSL Certificate

$ openssl x509 -in shellhacks.com.crt  -text

Who issued the cert?

$ openssl x509 -in shellhacks.com.crt -noout  -issuer

To whom was it issued?

$ openssl x509 -in shellhacks.com.crt -noout -subject

For what dates is it valid?

$ openssl x509 -in shellhacks.com.crt -noout -dates

The above, all at once

$ openssl x509 -in shellhacks.com.crt -issuer -noout -subject -dates

What is its hash value?

$ openssl x509 -in shellhacks.com.crt -noout -hash

What is its MD5 fingerprint?

$ openssl x509 -in shellhacks.com.crt  -noout  -fingerprint
0 (0)
Article Rating (No Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
RHCS6: Quorum disk and heuristics
Viewed 4095 times since Sun, Jun 3, 2018
debian How to Upgrade Debian 8 Jessie to Debian 9 Stretch
Viewed 2250 times since Sun, Sep 23, 2018
List usernames instead of uids with the ps command for long usernames
Viewed 2270 times since Wed, Jul 25, 2018
Top 10 darmowych i publicznych serwerów DNS
Viewed 2275 times since Tue, May 22, 2018
Używanie rsync poprzez Secure Shell
Viewed 41071 times since Thu, May 24, 2018
Linux An introduction to swap space on Linux systems
Viewed 2325 times since Thu, Jan 23, 2020
Super Grub2 Disk
Viewed 3336 times since Wed, May 22, 2019
A tcpdump Tutorial and Primer with Examples
Viewed 5018 times since Sun, Jun 17, 2018
Linux 16 Useful Bandwidth Monitoring Tools to Analyze Network Usage in Linux
Viewed 15155 times since Mon, Sep 21, 2020
Zabijanie wszystkich procesów użytkownika
Viewed 2579 times since Thu, May 24, 2018