Integrating AWS Certificate Manager with Key Manager Plus

Key Manager Plus integrates with AWS Certificate Manager (ACM)—a service that manages public and private SSL/TLS certificates. This integration allows:

  • Requesting and importing certificates from ACM into Key Manager Plus
  • Deploying certificates from Key Manager Plus to ACM
  • Renewing ACM certificate requests
  • Automating the complete lifecycle management of SSL/TLS certificates issued and managed by ACM

By the end of this guide, administrators will understand the following:

1. How the Key Manager Plus —ACM Integration Works?

Using Key Manager Plus's certificate discovery feature, ACM certificates can be imported into the certificate inventory. Once discovery is complete, all AWS certificates from all regions are listed under the AWS tab. Refer to the AWS documentation for the list of supported regions.

ACM supports two certificate types:

In Key Manager Plus, new certificates can be created and managed directly within the platform. While ACM itself does not support certificate creation, certificates can be created, requested, or imported in Key Manager Plus and then pushed to ACM. These certificates can also be managed from the AWS Management Console.

For more information, refer to AWS documentation on importing certificates into ACM.

Caution

Ensure that you have the following permissions for the integration:

  • AWS Permissions - Administrator access with the AWSCertificateManagerFullAccess policy to perform all ACM actions and access all ACM resources.
  • API Credentials - An AWS Access Key and Secret Key are required to perform ACM integration and certificate discovery.

Prerequisite

The following endpoints are required for the AWS integration. Ensure that your system firewall does not block access to these endpoints.

  • amazon.com
  • *.aws.amazon.com

Additionally, assign the permissions defined in the following sample JSON policy to the AWS user account used for the Key Manager Plus—AWS Certificate Manager (AWS ACM) integration.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "KMPAWSIntegration",
      "Effect": "Allow",
      "Action": [
        "acm:*",
        "acm-pca:*",
        "apigateway:*",
        "iam:Get*",
        "iam:List*"
      ],
      "Resource": "*"
    }
  ]
}

2. Discovering Certificates from ACM

Key Manager Plus supports discovery of SSL/TLS certificates from:

  • AWS Certificate Manager (ACM)
  • AWS Identity and Access Management (IAM)

Once discovered, certificates can be imported and configured for expiry notifications. For step-by-step instructions on discovering ACM certificates into Key Manager Plus, refer to this document.

In the Integrations >> Others >> AWS tab:

  • Public certificates requested from Amazon are labeled Amazon Issued.
  • Private certificates are labeled Private.
  • Certificates imported from Key Manager Plus to ACM are labeled Imported.
    awsacm-integration-1

3. Deploying Certificates to ACM

Key Manager Plus integration with AWS facilitates users to deploy certificates to the ACM and manage them from their console. Before deploying the certificates from Key Manager Plus to AWS, ensure that the AWS credentials are added properly. To deploy certificates to ACM, follow the steps below:

  1. Navigate to SSL >> Certificates and select the required AWS certificate.
  2. Click Deploy >> AWS-ACM from the top menu.
  3. In the dialog box that appears, choose the following attributes:
    awsacm-integration-2
    1. Select the required AWS Credential from the dropdown. To add or manage AWS credentials, click Manage AWS Credential beside the AWS Credential field.
    2. Select one or more regions using the checkboxes under the Region field.
    3. Certificates can be deployed to all the supported regions provided the private keys are available.
      • Deploy and replace if the same certificate is found in ACM: If you wish to replace the certificate in ACM after deployment, in case it turns out to be a duplicate, select this option.
      • Automatically re-deploy the certificate to ACM upon renewal: Select this option to automatically re-deploy the certificate to ACM every time it is renewed so that the certificate in Key Manager Plus and AWS are always in sync.

    iv.Click Deploy to deploy the certificate to ACM.

If there is a mismatch in the deployed certificates, they will be marked in red in the AWS tab within Key Manager Plus.

4. Requesting Certificates from ACM

Key Manager Plus allows you to request both public and private certificates from AWS and manage its interface.

4.1 Requesting Public Certificates

  1. Navigate to Integrations >> Others >> AWS.
  2. Click the Request Certificate dropdown and select Public Certificate.
  3. On the page that appears, fill in the following attributes:
    awsacm-integration-3
    1. Select the AWS Credential from the dropdown.
    2. Enter the Domain Name and SAN.
    3. Choose a Validation Type: Email or DNS.
    4. If DNS is selected as the validation type, select the DNS account configured.

      Additional Detail

      For DNS-based domain validation in the ACM certificate, configure the DNS account in Key Manager Plus and specify it in the DNS field. This will take you further through the challenge verification procedure. To add or configure your DNS account, refer to this document.

    5. If the validation type is Email, click and select the Region from the dropdown.
    6. Click Request Certificate.

The certificate matching the credentials you have provided will be imported into Key Manager Plus. Please note that Public Certificates from ACM do not have a private key.

4.2 Requesting Private Certificates

  1. Navigate to Integrations >> Others >> AWS.
  2. Click the Request Certificate dropdown and select Private Certificate from the top menu.
  3. On the page that appears, fill in the following attributes:
    awsacm-integration-4
    1. Select your AWS Credential from the dropdown.
    2. Select an ACM Private CA from the dropdown.
    3. Enter the Domain Name and SAN.
    4. Click Request Certificate.

The requested certificates will be issued and added to the Key Manager Plus certificate repository upon validation.

4.3 Requesting Status

After requesting certificates from AWS:

  1. Click the Request Status option from the top menu to view and validate the status of the certificates.
  2. On the page that appears, you can view the request, renewal, and domain validation status of both private and public certificates. Once a certificate request is created, the status of the certificate will appear in this table as Pending Validation.
    awsacm-integration-5
  3. If you have configured DNS-based challenge verification, click the status to deploy the challenge. The status will change to Deploy Challenge, and the validation process will begin.
  4. Once it is completed, click Save Certificate to save the certificate to the repository.
  5. If a validation is timed out, click the Resend Email icon and

Once the certificate authority receives your order, you will have to go through a Domain Control Validation (DCV) process called domain validation and prove your ownership over the domain upon the completion of which you will receive the certificate. To perform the DCV process, refer to this document.

Additional Detail

  • To complete the DNS validation, go to the Request Status page and click Pending Validation to complete the validation process. Please note that DNS validation is done only for Public Certificates.
  • If you have already configured the domain and server details under Manage >> Deploy, the challenge verification and the subsequent deployment of certificates is carried out for that specific domain and server alone.

5. Managing Certificates Issued by AWS Certificate Manager

Key Manager Plus allows you to renew private certificates. When a certificate renewal is requested from Key Manager Plus, the renewed certificate will be retrieved from ACM. However, when the certificate in ACM is renewed, it is not automatically updated in Key Manager Plus. To fix the mismatch, rediscover the certificates in Key Manager Plus and re-populate the data.

Caution

Only the certificates that satisfy all criteria mentioned here will be renewed. Click here to read about AWS's eligibility criteria for certificate renewal.

5.1 Manual Certificate Renewal

To renew the desired certificates manually, perform the steps that follow:

  1. Navigate to Integrations >> Others >> AWS.
  2. Select the required order and click Renew Certificate from the top menu.
    awsacm-integration-6
  3. Complete the DNS validation procedure if necessary.
  4. On successful validation, the certificate is issued and the new version is automatically updated in SSL >> AWS tab.

5.2 Automated Certificate Renewal

To configure the auto-renewal process for the desired certificates, perform the steps that follow:

  1. Navigate to Integrations >> Others >> AWS and click Manage from the top right pane.
  2. From the page that appears, navigate to the Auto-Renewal section and enable the Auto-Renew button.
    awsacm-integration-7
  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 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.

5.3 Revoking Certificates

To revoke the certificates, do the steps that follow:

  1. Navigate to Integrations >> Others >> AWS.
  2. Select the certificate that needs to be revoked and click More >> Revoke Certificate.
    awsacm-integration-8

Please note that the revoke option applies only to private certificates in ACM. Revoking a certificate request removes the certificate entry from Key Manager Plus only.

5.4 Fetching Certificate's Private Key

To fetch the private key of a certificate, do the steps that follow:

  1. Navigate to Integrations >> Others >> AWS.
  2. Select the required Private Certificate and click More >> Fetch Private Key from the top menu.

This operation fetches the private key of the selected private certificate from ACM. Please note that is a paid option and might incur costs as per your AWS license.

5.5 Deleting Certificates

To delete the certificates, do the steps that follow:

  1. Navigate to Integrations >> Others >> AWS.
  2. Select the required certificates and click More >> Delete from the top menu.
    awsacm-integration-9

The certificate requests will be deleted from the AWS tab.

Additional Detail

Deleting the certificates removes them only from Key Manager Plus, but can no longer managed in the application. However, the certificate remains from the ACM and it can still be viewed and managed from the AWS console.




Top