Creating SSL/TLS Certificates for Azure Key Vault

V10.0

RCL SSL creates SSL/TLS certificates using an Azure DNS Zone and automatically saves them to Azure Key Vault.

Access Control

Organization Accounts

Personal Microsoft Accounts (MSA) are not supported for Azure resources in a subscription. Only Microsoft Entra ID organizational accounts (also known as Work or School Accounts) are supported.

If you try to manage an Azure DNS / Key Vault with a MSA account you will get the following error.

image

If you signed up for the RCL SSL Portal with a personal Microsoft account (MSA), please follow the instructions in the following link to associate an organization account to your RCL SSL subscription:

When signing in with a Work or School Account, Multi Factor Authentication (MFA) must be used. If MFA is not used, you will get a MFA error when you try to create a certificate.

Set Access Control

To create certificates for Azure DNS / Key Vault, the Azure organizational account that you use to login to RCL SSL Portal must :

  • Have a role of Owner or Contributor to the subscription containing the Azure DNS Zone(s) / Key Vault(s)

  • Have a role of Key Vault Administrator in Azure Key Vault(s).

If these requirements are not met, the Subscriptions and DNS Zone and Key Vault lists will be empty when you try to create a certificate.

image

You may also experience an error message.

image

To set up access control for your organization account, follow the instructions in the link below :

Create a SSL/TLS Certificate using DNS

RCL SSL uses the DNS challenge type to create certificates for :

  • primary domains (e.g. contoso.net)
  • subdomains (e.g. store.contoso.net)
  • wild card subdomains (e.g. *.contoso.net)

The DNS challenge type ONLY works with an Azure DNS Zone.

Create a DNS Zone and Configure Name Server

If you bought your domain with a domain registrar, you must set up your Azure DNS Zone to manage the records for your domain.

image

Follow the instructions in the link below to set up your Azure DNS Zone and delegate the name server (NS) records for your domain :

Azure Key Vault

If you do not have an Azure Key Vault, follow the steps in this link to create one :

Ensure the Key Vault uses RBAC and not Access Policies.

Set IAM Role

If you do not set the the IAM role of Key Vault Administrator to the organization account you log in to the RCL SSL Portal, you will experience ‘Access Denied’ or ‘Forbidden’ errors when you try to create a certificate.

image

To set the the IAM role, follow instructions in this link:

Set Access Control for Key Vault

Create the SSL/TLS Certificate

  • In the Certificates module of the portal, click on the Create New SSL/TLS Certificate link

image

Select the Azure Key Vault option

image

  • Add the data to create the certificate. The image below illustrates sample data.

  • The Host Name is the primary domain (eg. contoso.com), subdomain (eg. shop.contoso.com) or wildcard subdomain (eg. *.contoso.com) that your are requesting the SSL/TLS certificate for.

  • In this case, we are requesting a SSL/TLS certificate for the custom primary domain, shopeneur.com.

  • Select the Key Vault name.

  • The Host Name must be valid for the DNS Zone. For instance, shopeneur.com, store.shopeneur.com, *.shopeneur.com is valid for the DNS Zone shopeneur.com

image

  • Click the Create Button when you are done

  • You will need to wait up to 5 mins to validate the site and install the certificate. When this is done, the SSL/TLS certificate will be displayed in the certificates list.

image

  • When this is done, the SSL/TLS certificate will be displayed in the certificates list.

image

  • You can now access your certificate in your Azure Key Vault in the Azure portal.

image

Manually Renewing SSL/TLS Certificates

SSL/TLS certificates will expire in 90 days. You can manually renew a certificate at any point before the expiry date. Click on the Renew link in the Manage menu in the certificates list to update a certificate.

image

Automatic Certificate Renewal and Installation

You can use the RCL AutoRenew Function to automatically renew certificates in Azure Key Vault.

Follow the instructions in the link to use the AutoRenew function :

Azure Key Vault with Application Gateway

You can use Azure Key Vault certificates with an Azure Application Gateway.

Azure Key Vault with Azure Kubernetes Service

You can use Azure Key Vault certificates with Azure Kubernetes Service.

Rate Limits

There is a rate limit of 50 SSL/TLS certificates per RCL SSL subscription.

In addition, Let’s Encrypt has instituted rate limits to ensure fair usage by as many people as possible. To find out more about these rate limits please refer to the following link :


This site uses Just the Docs, a documentation theme for Jekyll.