How to decode CSR (Certificate Signing Request) ?

What is CSR?


Certificate Signing Request is encrypted piece of code which is going to used for generating the SSL Certificate for your domain name.

 

CSR contains the information about Country, State, Location, Organisation Name, Common Name ie Domain Name , Email Address and Public Key.

Lets see how to extract the information from the CSR file?

How to extract information from the CSR?

surya@x ~/ » openssl req -in blog.suryaelite.com.csr -text -noout

How to verify the signature of CSR?

surya@x ~/ » openssl req -in blog.suryaelite.com.csr -noout -verify

To which company certificate is issued to?

surya@x ~/ » openssl req -in blog.suryaelite.com.csr -noout -subject

How to extract Public Key from CSR?

surya@x ~/ » openssl req -in blog.suryaelite.com.csr -noout -pubkey

This is how you can extract the various information from the CSR file.

Surya

Living in permanent beta mode: Learning, Improving & evolving. SPECIALTIES: Web Application Development, Digital Media, E-Commerce Solutions, SEO, CRM Solutions, Open Source Technologies, System Administration ( Linux ), VOIP Solutions, Cloud Computing, Web Security.

Share
Published by
Surya

Recent Posts

How to get the all the database and table sizes of MySQL or MariaDB?

If you are working with MySQL or MariaDB web server, sooner or later you will…

7 years ago

How to set or change default text editor for crontab in Linux?

To edit the crontab entries you use crontab -e. The command will check for the…

7 years ago

How to install Comodo SSL certificate with NGNIX web server?

Installation method for COMODO SSL Certificate If you have generated the CSR and purchased or…

7 years ago

How to give access to specific users to specific buckets on AWS S3

In AWS S3, you might want to provide the access to selected users to selected…

7 years ago

How to add or change the password (passphrase) of OpenSSH key?

It's possible you have earlier generated a ssh key without password/ passphrase. Later you found…

7 years ago

How to find files on linux OS ( distributions )

If you are working on Linux OS, finding files effectively always a tricky part. Like…

7 years ago