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 shellhacks.com.csr -text -noout

Verify the signature

$ openssl req -in shellhacks.com.csr -noout -verify

Whom the certificate will be issued to?

$ openssl req -in shellhacks.com.csr -noout -subject

Show the public key

$ openssl req -in shellhacks.com.csr -noout -pubkey
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
LVM: Reduce an existing Volume Group by removing one of its disks
Viewed 1275 times since Sat, Jun 2, 2018
Epoch & Unix Timestamp Conversion Tools
Viewed 37502 times since Fri, Jun 22, 2018
Tilix: Advanced Tiling Terminal Emulator for Power Users
Viewed 4637 times since Thu, Apr 18, 2019
LVM: Extend SWAP size by adding a new Logical Volume
Viewed 1282 times since Sat, Jun 2, 2018
Testing TLS/SSL encryption
Viewed 12097 times since Thu, Jan 16, 2020
logrotate Understanding logrotate utility
Viewed 1051 times since Sun, Jan 12, 2020
Moving SSL Certificate from IIS to Apache
Viewed 1021 times since Mon, Feb 18, 2019
How to Clear RAM Memory Cache, Buffer and Swap Space on Linux
Viewed 1392 times since Mon, Nov 23, 2020
RHEL: Rebuilding the initial ramdisk image
Viewed 5035 times since Sat, Jun 2, 2018
Logowanie za pomocą kluczy Secure Shell
Viewed 2028 times since Thu, May 24, 2018