Prior to creating a new private key and CSR, you will need to use the keytool command to create a new keystore. Keystores keep your private keys, certificates, and CSR's in a central location.
Enter the following command:
Be sure to replace yourdomain.key with a filename that matches more similarly to your actual hostname.
You will now be asked to enter the information for your CSR. Please keep the following in mind as you enter your data:
Location - Enter the location where your business operates, not where your server is located. If you are an international customer in a country without a State/Province or City/Locality, leave those fields blank.
Organization - Enter the full, unabbreviated legal name of your business. Include any applicable suffix, such as "Inc" or "LLC". If your company name is registered in an abbreviated form, then you may use that abbreviation if you want.
Organizational Unit - This field will not be included in your certificate, so you can leave it blank.
Common Name - Enter the web address of your site. It must be a fully qualified domain name. Both www.yourdomain.com and yourdomain.com are acceptable. Do not include http:// or https://. When ordering a wildcard Server Certificate, you will use *.yourdomain.com
Email Address - Enter the address of the person responsible for digital certificates in your organization. This field is optional.
When you have finished entering your information, type "y" to confirm and enter a password for the keystore. Make a note of this password - it is vital for CSR generation and certificate installation.
You can use keytool again to generate the CSR:
Be sure to replace yourdomain.csr and yourdomain.key with the correct filenames for your host. You will need to enter the password of the keystore which you created in the previous step.
Now navigate to the location of your saved CSR and open it with a suitable text editor such as Notepad, TextEdit, or vi. Copy the entire text - including the top and bottom dashed lines. You can paste this text directly into the VikingCloud Control Center - Submit your CSR to proceed to validation.