Creating New Key Pair and Certificate Request
You can use option 3 from the Key database menu to create a new key pair and a certificate request.
- Procedure
- From the Key database menu, enter option
3to create a new key pair and a certificate request. - Enter the file name where the certificate request is stored.
If you do not enter a file name, the certificate is stored in the current working directory under the name
certreq.arm. - Enter a label for this key.
Note: The label name is case sensitive. The label is important because it is used in the Platform Server GLOBAL
SSL_DNLABELparameter. If you want to use this parameter, you must enter it without any embedded spaces. - Enter the desired key strength.
If you do not enter a key strength, the default value
512is used as the key strength.Select desired key size from the following options (512): 1: 512 2: 1024 Enter the number corresponding to the key size you want:
- Enter the following certificate subject name fields.
Common Name: Typically, the name of the user or machine where the key is used. This field is required.Organization: Typically, the name of the company or organization. This field is required.Organization Unit: The name of the department. This field is optional.-
City/Locality: The city where you are located. This field is optional. State/Province: The state where you are located. This field is optional.-
Country Name: 2 characters of the country where you are located. This field is required.
The following message is then displayed indicating that the request is being created.Please wait while key pair is created...
When the key is created, the following message is displayed. You can enter
0to exitgskkyman.Your request has completed successfully, exit gskkyman? (1=yes, 0=no):
ResultAt this point, you can edit the file where the certificate request is created. You can use the TSO
OEDIT command to edit the dataset. See the following example of a certificate request file:
-----BEGIN NEW CERTIFICATE REQUEST----- MIIBKzCB1gIBADBxMQswCQYDVQQGEwJVUzELMAkGA1UECBMCTlkxFDASBgNVBAcT C0dhcmRlbiBDaXR5MREwDwYDVQQKEwhQcm9naW5ldDEUMBIGA1UECxMLRGV2ZWxv cG1lbnQxFjAUBgNVBAMTDVByb2dpbmV0IFVzZXIwXDANBgkqhkiG9w0BAQEFAANL ADBIAkEA5g/R9hXIWYe8MJBgNIpn2qB2B1ZT23URKBClWd3+yQ0a++tZpYXqmGfN ojfDYjgLM8WJazMd49nP8r1Fy6fFpQIDAQABoAAwDQYJKoZIhvcNAQEEBQADQQAW nEnXjl8zstNnZCSFakfJzNdprLBSTtvyBpH3OML0YjS4yIhMQ+hw2f+CMXYgWQWs 4aDWVBZHRvaXzvkFDTlp -----END NEW CERTIFICATE REQUEST-----
You can send the certificate request to the certificate authority, or you can paste it into an email or into a web interface. When the certificate authority has processed the certificate request and has created a certificate, the next step can be processed.