Generate the Certificate Signing Request (CSR)

Describes how to generate the CSR

Before you can obtain a signed client certificate, you need to first generate a Certificate Signing Request. One way to do this is using OpenSSL. For example:

openssl req -newkey rsa:2048 -nodes -keyout client.key -out client.csr

Generating a 2048 bit RSA private key
.............................................................................................................................................+++
......................................+++
writing new private key to 'client.key'
-----
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) [XX]:US
State or Province Name (full name) []:California
Locality Name (eg, city) [Default City]:Santa Clara
Organization Name (eg, company) [Default Company Ltd]:HPE
Organizational Unit Name (eg, section) []:MapR
Common Name (eg, your name or your server's hostname) []:safenetclient1
Email Address []:

Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:

In this example, the client private key is saved in a file name client.key, and the CSR is saved in a file named client.csr.