Integrating Let's Encrypt Certificate Authority with Key Manager Plus
Key Manager Plus facilitates end-to-end certificate life-cycle management for your public facing websites by integrating with the renowned open CA, Let's Encrypt. This means that you can procure domain-validated certificates from Let's Encrypt for their public domains, deploy, track, request alerts on expiry, and renew certificates; everything done entirely from Key Manager Plus.
Follow the step-by-step procedure below to integrate Let's Encrypt with Key Manager Plus:
Ensure that you add the following base URL and port as an exception in your firewall or proxy to make Key Manager Plus to connect to the Let's Encrypt CA services.
- URL: https://acme-v02.api.letsencrypt.org/acme/
- Port: 443
1. Creating a Let's Encrypt Account
The first step in requesting for certificates from Let's Encrypt CA is creating a Let's Encrypt account (skip to the next section if you already have an account). This is a one-time process and can be done from Key Manager Plus itself.
To create a Let's Encrypt account, follow the steps below:
- Navigate to Integrations >> ACME Integrations >> Let's Encrypt >> Manage.
- Under the Account tab, click New Registration.
- In the UI that opens, provide an account name and specify a valid email address.

- Choose either Production or Staging, based on the URL that will be used.
- Accept the Let's Encrypt Subscriber Agreement by enabling the checkbox and click Register.
An account with Let's Encrypt is created.
- Only users with administrator privileges can register, add, or manage the Let's Encrypt account in Key Manager Plus.
- Deleting an account removes it only from the Key Manager Plus database. The account remains active in the Let's Encrypt CA portal and can be registered again in Key Manager Plus, provided it is not already registered in another Key Manager Plus instance or product.
- If the account is deleted with the Deactivate option enabled, it will be permanently deactivated in the Let's Encrypt CA portal and deleted from the Key Manager Plus database. Once deactivated, the account cannot be registered again in Key Manager Plus.
2. Creating a Certificate Request
After creating an account with Let's Encrypt, you can generate a certificate request. A challenge will then be presented, which should be fulfilled for Let's Encrypt to validate the domain and issue the certificate. To create a certificate request, follow the steps below:
- Navigate to Integrations >> ACME Integrations >> Let's Encrypt and click Certificate Request.
- In the form that appears, fill in the domain name, select the Challenge Type, Key Algorithm, Algorithm Length, Signature Algorithm, Keystore Type, and enter or generate the Keystore Password.

- For dns-01 challenge type, you can choose and assign a DNS account from the dropdown if they have already configured a DNS credential. This will be used for automatic challenge verification for all the domains specified in the request. To add a DNS account, refer to this document.
- Additionally, you have options to change the private key whenever the certificate is renewed.
- Select New Key to change the key on each renewal.
- Select Same Key to retain the key on each renewal.
- Select Import Key to use your own key. This key will be used for the first time when the certificate is generated and also for subsequent renewals.
- Click Create to create the certificate request.
- Key Manager Plus supports wildcard certificate requests for DNS based challenges. For wildcard certificate requests, enter the common name in the format: *.domainname.com.
- One certificate can secure up to 100 domains. You can enter a maximum of 100 names in the Domain Name field out of which the first name is considered the common name, and the rest are treated as Subject Alternative Names (SAN).
- Option to change the private key currently works only with the RSA key algorithm. Key Manager Plus expedites domain validation through automatic verification of HTT P-01 and DNS-01 challenges (currently Azure, Cloudflare, Amazon Route 53, RFC 2136 DNS update, GoDaddy DNS, ClouDNS, DNS Made Easy, and Mythic Beasts). For this to take effect, you have to initially map the end-server details to Key Manager Plus, which is a one-time process. For more details, refer to this document.
3. Procuring and Saving Certificates
Follow these steps to procure and save a certificate to the Key Manager Plus repository:
- On successful verification, Let's Encrypt issues the requested certificate.
- The window automatically redirects to a page that displays the certificate and its status (the status is marked as Saved if the challenge verification is successful, and Failed if the challenge verification fails).
- If the challenge fails, click New challenge to obtain another set of challenges and repeat the above process.

Upon successful challenge verification, the certificate is added to the Key Manager Plus repository, which can be viewed from the SSL >> Certificates tab.
4. Managing Certificates Issued by Let's Encrypt CA
This section explains how to renew, revoke, and delete certificates issued by Let's Encrypt CA.
To view the history of the certificates issued by Let's Encrypt CA, click the Certificate History icon in the certificate list.
4.1 Renewing Certificates
Certificates issued by Let's Encrypt have a lifetime of ninety days after which they are not valid. Also, as mentioned above, the domain authentication validity period is sixty days, which means that the user has to fulfill the challenges once in every sixty days in order to prove his ownership of the domain.
Certificate renewals can be carried out manually or automatically through automatic domain validation. The below sections will detail the certificate renewal operation for Let's Encrypt CA issued certificates:
4.1.1 Manual Certificate Renewal
To renew a certificate manually, follow these steps:
- Navigate to Integrations >> ACME Integrations >> Let's Encrypt.
- Select the certificate you wish to renew and click Renew Certificate in the top menu.

- In the pop-up confirmation window that appears, click OK to renew the certificate.
Once the renewal is complete, the certificate status will be displayed as Saved in the Certificate Status column. The renewed version of the certificate will be available in the SSL >> Certificates tab.
4.1.2 Automated Certificate Renewal
To configure the auto-renewal process for the desired certificates, perform the steps that follow:
- Navigate to Integrations >> ACME Integrations >> Let's Encrypt >> Manage and click Auto-Renewal from the top pane.
- From the page that appears, enable the Auto-Renew toggle switch.

- Specify the recurrence interval for the auto-renewal of certificates issued by third-party Certificate Authorities (CAs). As this is a global configuration, any modifications will affect all enabled third-party CA auto-renewal configurations.
- Enter the number of days before expiry in which the auto-renewal process is to be carried out.
- Select the desired certificates that are to be auto-renewed and click Save.
Based on the configured details, the auto-renewal process will be carried out. Click the Auto-Renewal Audit to get insights about the certificates renewed through the auto-renewal process.
If a certificate has already been deployed to an endpoint or if the deployment has been preconfigured using any of the supported deployment methods, and the Deploy Certificate on Auto-Renewal option is enabled under the Edit Certificate window, Key Manager Plus will automatically deploy the renewed certificate to the respective endpoint upon successful auto-renewal. This auto-deployment follows the system-defined schedule interval, and you can monitor the deployment status for each server in the Auto-Deployment Audit section.
4.1.3 Automatic Renewals through Automatic Domain Validation
If agent mapping had been configured, the certificate renewal process will be performed automatically without manual intervention. All the certificates in your organization procured from Let's Encrypt CA are automatically renewed after every 75 days. i.e., 15 days before its expiry and a notification is sent to the account holder's email address.
Automatic renewals are applicable only for those certificates saved in Key Manager Plus repository. i.e., after procuring a certificate from Let's Encrypt CA, you should save it for the auto-renewal process to take effect.
4.2 Revoking Certificates
Revoking a certificate renders the certificate invalid and immediately removes the HTTPS from the website. To revoke a certificate, follow the steps below:
- Navigate to Integrations >> ACME Integrations >> Let's Encrypt.
- Select a certificate you want to revoke and click Revoke Certificate from the top menu.

The certificate will be revoked and no longer remains valid.
4.3 Deleting Certificates
Deleting a certificate removes the certificate from Key Manager Plus, but the certificate remains valid. To delete a certificate, follow the steps below:
- Navigate to Integrations >> ACME Integrations >> Let's Encrypt.
- Select the certificate you want to delete and click More >> Delete.

- If prompted, click OK to confirm the deletion.
Now, the certificate will be deleted from Key Manager Plus.