Integrating ZeroSSL Certificate Authority with Key Manager Plus

Key Manager Plus facilitates integration with ZeroSSL — the certificate authority (CA) that uses the Automatic Certificate Management Environment (ACME) protocol to provide secure SSL certificates free of cost. This integration helps you achieve an end-to-end life cycle management of ZeroSSL certificates installed on your domains from a single interface. This document details the steps to establish a connection with your ZeroSSL account, acquire, deploy, renew and perform all certificate management related operations from Key Manager Plus.

Follow the step-by-step procedure below to integrate ZeroSSL with Key Manager Plus:

Caution

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 ZeroSSL CA services:

  • URL: https://acme.zerossl.com/v2/DV90
  • Port: 443

1. Creating a ZeroSSL Account

To begin the process of requesting SSL certificates from ZeroSSL, you should create a ZeroSSL account (skip to the next section if you already have an account). This is a one-time process and can be done directly from the Key Manager Plus web interface. To create a ZeroSSL account, follow the steps below:

  1. Navigate to Integrations >> ACME Integrations >> ZeroSSL >> Manage.
  2. Under the Account tab, click New Registration.
    zerossl-integration-1
  3. In the pop-up window that opens, enter an account name and a valid email address. Enter your EAB KID and EAB HMAC Key. Click here to generate EAB KID and HMAC Key for your account, if you do not have one already.
  4. Enable the checkbox to accept the ZeroSSL subscriber agreement and click Register.

Now, an account with ZeroSSL is created.

Caution

  • For each new account registration, a new EAB KID has to be created. After successfully registering for an account, the same EAB HMAC key cannot be used again. Click here to read the ZeroSSL document for more details.
  • Only users with administrator privileges can register, add, or manage a ZeroSSL account an ZeroSSL account in Key Manager Plus.
  • Deleting an account removes it only from the Key Manager Plus database. The account remains active in the ZeroSSL 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 ZeroSSL 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

Once your ZeroSSL account is registered, you can proceed with raising certificate requests to the CA. To complete a certificate request, you will be presented with a challenge verification to fulfill in order to validate your domain and issue the certificate you have requested.

Follow the steps below to raise a certificate request:

  1. Navigate to Integrations >> ACME Integrations >> ZeroSSL and click Certificate Request.
  2. On the page that appears, fill in the Common Name, SAN, select the Challenge Type, Key Algorithm, Algorithm Length, Signature Algorithm, Keystore Type, and enter the Keystore Password.
    zerossl-integration-2
  3. For dns-01 challenge type, choose and assign a DNS account from the dropdown if there is already a DNS account configured. This will be used for automatic challenge verification for all the domains specified in the request. For information about adding a DNS account in Key Manager Plus, refer to this document.
  4. Additionally, you have options to change the private key whenever the certificate is renewed.
    1. Select New Key to change the key on each renewal.
    2. Select Same Key to retain the key on each renewal.
    3. 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.
  5. Click Create to create a certificate request.

Upon creating a certificate request, you have to verify the ownership of your domain through HTTP-01 and DNS-01 challenges (currently Azure, Cloudflare, Amazon Route 53, RFC 2136 DNS update, GoDaddy DNS, ClouDNS, and DNS Made Easy). For the process 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 about domain verification and challenge deployment, refer to this document.

3. Procuring and Saving Certificates

Follow these steps to procure and save a certificate to the Key Manager Plus repository:

  1. On successful verification, ZeroSSL CA issues the requested certificate.
  2. The window automatically redirects to a page that displays the certificate and its status. The status is marked Saved if the challenge verification is successful, and Failed if the challenge verification fails.
  3. If the challenge fails, click the New challenge icon to obtain another set of challenges and repeat the above process.
    zerossl-integration-3

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 ZeroSSL CA

This section explains how to renew, revoke, and delete certificates issued by ZeroSSL CA.

Additional Detail

To view the history of the certificates issued by ZeroSSL CA, click the Certificate History icon in the certificate list.

4.1 Renewing Certificates

Certificates issued by ZeroSSL have a lifetime of 90 days after which they are not valid. Certificate renewals can be carried out manually or automatically through automatic domain validation. The below sections explain how to renew certificates issued by ZeroSSL CA.

4.1.1 Manual Certificate Renewal

To renew certificates manually, follow the steps below:

  1. Navigate to Integrations >> ACME Integrations >> ZeroSSL.
  2. Select the certificate you wish to renew and click the Renew Certificate button in the top menu.
    zerossl-integration-4
  3. In the confirmation pop-up window that appears, click OK.

Once the certificate is renewed, the Certificate Status column displays Saved. 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:

  1. Navigate to Integrations >> ACME Integrations >> ZeroSSL >> Manage and click Auto-Renewal from the top pane.
  2. From the page that appears, enable the Auto-Renew toggle.
    zerossl-integration-5
  3. 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.
  4. Enter the number of days before expiry in which the auto-renewal process is to be carried out.
  5. 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 is done automatically without manual intervention. All the certificates in your organization procured from ZeroSSL is automatically renewed 15 days before its expiry and a notification is sent to the account holder's email address.

Caution

Automatic renewals are applicable only for those certificates saved in Key Manager Plus repository. i.e., after procuring a certificate from ZeroSSL, you have to save it in order for the automatic renewal 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:

  1. Navigate to Integrations >> ACME Integrations >> ZeroSSL.
  2. Select a certificate you want to revoke and click Revoke Certificate from the top menu.
    zerossl-integration-6

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:

  1. Navigate to Integrations >> ACME Integrations >> ZeroSSL.
  2. Select the certificate you want to delete and click More >> Delete.
    zerossl-integration-7
  3. In the confirmation pop-up that appears, click OK.

Now, the certificate will be deleted from Key Manager Plus.




Top