Generating a Private Key and CSR
This example uses the openssl command-line tool to generate a private key and CSR as discussed in the Authentication & Security section. We do not require the keys to be generated using a Hardware Security Module.
1. Generate a 2048-bit RSA Private Key:
Bash
openssl genrsa -out my-private-key.key 20482. Generate the CSR using your Private Key:
Plain text
When prompted, you must enter your details. The only strict requirement is that the Organization Name (O) must exactly match the Organisation ID provided by Shieldpay. Do not set a challenge password.
Bash
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
Country Name (2 letter code) []:GB
State or Province Name (full name) []:London
Locality Name (eg, city) []:London
Organization Name (eg, company) []:c9644206-dfc7-4c07-b117-f03d3c22bd93
Organizational Unit Name (eg, section) []:Example Company
Common Name (eg, fully qualified host name) []:example-company.com
Email Address []:user@example-company.com
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:On this page
- Generating a Private Key and CSR