About csr generator
A certificate signing request (CSR) is what you send a certificate authority to get an SSL/TLS certificate. It contains your public key and details about your site, and is made together with a private key.
Fields
- Common name: the main domain, such as www.example.com.
- Subject alternative names: extra domains the certificate should cover.
- Organisation, city, state and country for organisation-validated certificates.
Keep the private key
You must keep the private key that goes with the CSR. The certificate will not work on your server without it, and it must never be shared.
Free alternative
Many hosts issue free certificates automatically through Let's Encrypt, with no CSR step for you.
A worked example
For a shop at www.example.in you create a CSR with that common name and add example.in as an alternative name, so one certificate covers both. Send only the CSR to the certificate authority, and install the certificate they return with the private key you kept.
Checking a CSR
- You can inspect one with the command openssl req -in file.csr -noout -text.
- Check that the names are spelled correctly, since you cannot change them after issue.
- Keep the matching private key in a safe place with restricted access.
