- 2 minutes to read
- Print
- DarkLight
- PDF
How to generate random certificates
- 2 minutes to read
- Print
- DarkLight
- PDF
In this article, you’ll learn how to generate random certificates. The Certificate Manager provides the convenience of creating multiple CSR (Certificate Signing Requests) with random Common Names (CNs) and then signing them all at once. The ability to generate certificates with random CNs is especially valuable in microservices and elastic environments, as it simplifies certificate lifecycle management.
Step 1: Create a request
To create a request with random certificates, follow these steps:
- In the top left corner, click Grid Menu, identified by the nine squares icon, and then select Certificate Manager.
- On the side menu, select Certificates and then Requests.
- In the top right corner, click View actions (the three vertical dots icon).
- Select New; this will open the Requisition form.
- In the General tab, enter the information:
- From the Certificate type drop-down menu, select the desired certificate type.
- For Domain type, check the desired option.
- From the Organization drop-down menu, select an organization and click Add.
- In Common name, type the appropriate name.
- In Expiration (in days), set the period for the certificate to remain valid.
- Enable the Generate random certificates with this CN checkbox.
- In Certificate quantity, set a number. The limit is 500 random certificates.
- In SAN (Subject Alternative Name), type all domains to be protected with this certificate.
- Add any Tags you want.
- From the Encryption algorithm drop-down menu, select the encryption algorithm.
- From the Encryption key size drop-down menu, select the key size consistent with the algorithm.
- From the Certificate signing algorithm drop-down menu, select the algorithm used to sign the certificate through the Certification Authority.
- Add the desired passwords.
The passwords can have up to 72 characters, including uppercase and lowercase letters, numbers, and the symbols ! % @ # ^ * _
.
- Click Save.
On the Requests main page, the new request will be listed, and in the Random Certificates column, you will find the configured number of certificates.
Step 2: Sign the request
To perform this action, access the article on How to sign a request.
After you sign the request, the system will process and sign the certificates. The processing time may vary depending on the number of random certificates requested.
Step 3: Find signed random certificates
To find signed random certificates, there are two ways:
- On the Requests main page, click on the number indicating the quantity of certificates in the Random Certificates column.
- All requests will be listed individually.
- In the Status column, you’ll see requests changing from ‘Generating’ to ‘Signed’.
- In the Action column, click on Certificate info (the ID card icon) to view the random certificate generated from the CN.
Or
- On the left sidebar menu, select Certificates.
- On the main page of the item, all generated random certificates will be listed individually.
Do you still have questions? Reach out to the senhasegura Community.