Generate a certificate signing request (CSR).
-
Enter the following:
# openssl req -new -key key.pem -out csr.pem
The following prompt is displayed:
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]:
-
Enter the country name. The following prompt is displayed:
State or Province Name (full name) []:
-
Enter the state or province name. The following prompt is displayed:
Locality Name (eg, city) [Default City]:
-
Enter the locality name. The following prompt is displayed:
Organization Name (eg, company) [Default Company Ltd]:
-
Enter the organization name. The following prompt is displayed:
Organizational Unit Name (eg, section) []:
-
Enter the organizational unit name. The following prompt is displayed:
Common Name (eg, your name or your server's hostname) []:
-
Enter the name identifier. The following prompt is displayed:
Email Address []:
-
Enter the E-mail. The following prompt is displayed:
Please enter the following 'extra' attributes to be sent with your certificate request
A challenge password []:
-
Enter the password. The folowing prompt is displayed:
An optional company name []:
-
Enter the company name. The utility generates a CSR file.