Managed SSL Certificates with Certificate Manager (Optional)
Create regional or global SSL certificates for GCP using Certificate Manager
If you followed the step Certificate for Load Balancer, skip this step.
SSL certificates secure connections between clients, servers, and Load Balancers by encrypting data transmitted over the network using Transport Layer Security (TLS). GCP provides two primary methods for configuring SSL certificates: Compute Engine SSL Certificates and Certificate Manager (using certificate maps). While DuploCloud supports both methods, we recommend Certificate Manager whenever possible. This approach is preferable because Compute Engine certificates cannot be validated until associated with a Load Balancer, potentially leading to downtime. In contrast, certificate maps can be validated in advance, helping to ensure consistent uptime and a smoother management experience.
Prerequisites
Obtain public and private certificate files from your chosen SSL certificate provider, such as GoDaddy or Namecheap.
Creating a Certificate Map With Certificate Manager
Create a DNS authorization resource using the following command where YOUR_DOMAIN is your domain URL and MAP_NAME is your certificate name (a unique name you choose for your certificate map).
Manually create the DNS records shown in the output of the
list
command. You'll usually do this in the certificate's domain zone in the Cloud DNS service for the same project, but it depends on how you set up DNS.Create the certificate:
Create the certificate map and its entries:
Add the certificate map to the DuploCloud Plan. Navigate to Administrator -> Plans. Select the Certificates tab and click Add. The Add a Certificate pane displays.
In the Name field, create a name for the certificate (the name is arbitrary as it is only a display name to be used within DuploCloud).
In the GCP Certificate Type list box, select the certificate type. The certificate type must match the certificate entered in the
gcloud certificate-manager maps entries create
command.In the GCP Certificate Map field, enter the name of your map (in this example, MAP_NAME).
Click Create. The certificate can now be used with your DuploCloud Services.
Last updated