SSL HowTo: Decode CSR

A Certificate Authority will use a CSR to create your SSL certificate.

What is a CSR? A CSR or ‘Certificate Signing Request’ is a block of encrypted text, that is generated on the server that the certificate will be used on.

It contains information that will be included in your certificate, such as your organization name, common name (domain name), locality, and country. It also contains the public key that will be included in your certificate.

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

Extract information from the CSR

$ openssl req -in -text -noout

Verify the signature

$ openssl req -in -noout -verify

Whom the certificate will be issued to?

$ openssl req -in -noout -subject

Show the public key

$ openssl req -in -noout -pubkey
0 (0)
Article Rating (No Votes)
Rate this article
There are no attachments for this article.
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
debian Debian/Ubuntu Linux: Find If Installed APT Package Includes a Fix/Patch Via CVE Number
Viewed 9064 times since Sun, Sep 23, 2018
ZPOOL: Remove an existing zpool
Viewed 1813 times since Sun, Jun 3, 2018
How to manage Linux password expiry with the chage command
Viewed 10822 times since Tue, Sep 11, 2018
Watchdog script to keep an application running
Viewed 16965 times since Tue, Jul 31, 2018
How to mount software RAID1 member using mdadm
Viewed 2658 times since Wed, Oct 3, 2018
How to run command or code in parallel in bash shell under Linux or Unix
Viewed 2623 times since Tue, Aug 6, 2019
How do I add ethtool settings to a network device permanently?
Viewed 6071 times since Mon, May 21, 2018
Creating SWAP partition using FDISK & FALLOCATE commands
Viewed 2336 times since Thu, Jan 16, 2020
Manage SSH Key File With Passphrase
Viewed 1843 times since Tue, Mar 5, 2019
A tcpdump Tutorial and Primer with Examples
Viewed 4361 times since Sun, Jun 17, 2018