Google Domains SSL Certificate Not Applied to Subdomain on EC2

Abstract: Resolve SSL certificate application failures for subdomains on EC2 by configuring AWS Certificate Manager DNS validation within Google Domains.

Created: 2026-09-25 by
Google Domains does not issue SSL certificates directly; it is solely a DNS registrar. To secure a subdomain on an EC2 instance, you must use AWS Certificate Manager (ACM) to obtain a free certificate and then attach it to an Application Load Balancer or CloudFront distribution. This guide explains how to validate domain ownership via DNS records provided by ACM while managing your domain in Google Domains.

Understanding the Architecture

It is crucial to understand that SSL/TLS termination does not happen at the registrar level. When you purchase a domain through Google Domains, you are only managing the DNS records that point traffic to your resources. The actual cryptographic handshake occurs between the client browser and your web server or load balancer.

AWS Certificate Manager (ACM) provides free public TLS certificates for services like Amazon API Gateway, Elastic Load Balancing, Amazon CloudFront, and AWS Outposts. These certificates are specific to an AWS Region and cannot be exported to other cloud providers or local servers. Therefore, if your EC2 instance is behind an Application Load Balancer (ALB), ACM is the correct tool. If your EC2 instance is serving traffic directly without a load balancer, ACM cannot be used directly; you would need to use Let's Encrypt with Certbot instead.

Assumption: Using an Application Load Balancer

This article assumes you are using an Application Load Balancer in front of your EC2 instances, as this is the standard pattern for using ACM certificates. If you are not using an ALB, see the section on alternatives below. For more information on troubleshooting network connectivity issues that might affect DNS resolution, refer to Client Fails TLS Handshake: Troubleshooting Guide.

Step 1: Requesting the Certificate in ACM

Navigate to the AWS Management Console and open the Certificate Manager service. Ensure you have selected the correct AWS Region where your Load Balancer resides. ACM certificates are region-specific, so a certificate issued in US East (N. Virginia) will not work for a Load Balancer in US West (Oregon).

  1. Click on Request a certificate.
  2. Select Request a public certificate.
  3. Enter the fully qualified domain name (FQDN) for your subdomain, such as app.example.com. You can also add additional names if you want the certificate to cover multiple subdomains or the root domain.
  4. Choose DNS Validation. This is the recommended method because it is automated and requires no manual file uploads.
  5. Review and request the certificate.

Step 2: Configuring DNS Validation in Google Domains

Once the certificate is requested, ACM will generate CNAME records that you must add to your Google Domains DNS configuration. This step proves to AWS that you control the domain.

  1. In the ACM console, locate your pending certificate. It will show a status of Pending validation.
  2. Click on the certificate ID to view details. Under the DNS records section, you will see two CNAME entries: one for the name and one for the value.
  3. Log in to your Google Domains account and navigate to the DNS management page for your domain.
  4. Add a new record. Select CNAME as the type.
  5. In the Name field, paste the Name value from the ACM console. Do not include your domain suffix unless explicitly instructed by ACM (usually, you just enter the prefix).
  6. In the Value field, paste the Value from the ACM console. This is the target domain that points back to AWS.
  7. Set the TTL to the default or minimum value allowed by Google Domains.
  8. If ACM requested two CNAME records (for redundancy or different record types), repeat the process for the second record.

Step 3: Attaching the Certificate to the Load Balancer

After adding the DNS records, propagation may take anywhere from a few minutes to 48 hours, though it is often much faster. Once the status in ACM changes to Issued, you can attach the certificate.

  1. Go to the EC2 Dashboard and select Load Balancers under the Networking section.
  2. Select your Application Load Balancer and click the Listeners tab.
  3. Edit the HTTPS listener (port 443). If you do not have an HTTPS listener, create one.
  4. In the SSL certificate dropdown, select the certificate you just validated.
  5. Save the changes.

Troubleshooting Common Issues

If the certificate remains in Pending validation after several hours, check the following:

  • Record Type: Ensure you added CNAME records, not A records or TXT records.
  • Propagation Delay: Use a tool like dig or online DNS checkers to verify that the CNAME records are publicly visible. Note that Google Domains DNS propagation is usually fast but can occasionally lag.
  • Region Mismatch: Verify that the ACM certificate was requested in the same region as your Load Balancer.

For insights on how browsers interpret these certificates, specifically regarding Subject Alternate Names, see How to View Subject Alternate Names in Google Chrome.

Alternative: Direct EC2 Without Load Balancer

If you are not using an Application Load Balancer and your EC2 instance serves traffic directly, ACM cannot be used. In this case, you must install a certificate manually on the EC2 instance itself. The most common approach is using Let's Encrypt with Certbot.

Install Certbot on your Linux instance, run the command sudo certbot --nginx or sudo certbot --apache depending on your web server. Certbot will automatically handle the DNS-01 or HTTP-01 challenge. For DNS-01 challenges with Google Domains, you may need to configure a plugin that interacts with the Google Domains API to create temporary TXT records for validation. This method is more complex than using ACM but necessary for direct EC2 deployments.

Conclusion

Securing a subdomain hosted on EC2 requires separating domain management from certificate issuance. By using Google Domains for DNS and AWS Certificate Manager for SSL, you leverage a robust, automated, and free solution. Always ensure your DNS records match the ACM requirements exactly and that your Load Balancer is configured to terminate SSL traffic using the issued certificate.

Frequently Asked Questions

Can I use an ACM certificate directly on an EC2 instance?

No, AWS Certificate Manager certificates cannot be installed directly on EC2 instances or on-premises servers. They are exclusively designed for AWS-managed services like Load Balancers, CloudFront distributions, and API Gateways. For direct EC2 usage, you must use a third-party CA like Let's Encrypt.

Why is my ACM certificate stuck in "Pending Validation"?

This status usually indicates that the CNAME records added to Google Domains have not yet propagated globally or were entered incorrectly. Verify the exact Name and Value fields in the ACM console match your Google Domains DNS entries. Use a public DNS lookup tool to confirm the records are visible before waiting for automatic validation.

Do I need to renew ACM certificates manually?

No, ACM automatically renews public certificates before they expire. As long as the DNS validation records remain in place and the domain continues to resolve correctly, AWS handles the renewal process seamlessly. You do not need to take any action once the certificate is issued.

What happens if I delete the CNAME records in Google Domains?

If you delete the validation CNAME records, ACM will lose its ability to verify domain ownership. Upon the next renewal attempt, the certificate renewal will fail, and the certificate will eventually expire. This will cause your website to display security warnings to users until valid records are restored and the certificate is renewed.

Can I use ACM for private domains hosted on Google Domains?

ACM supports private certificates for internal resources within a VPC. However, if you are securing a public-facing subdomain accessible via the internet, you must use a public certificate. Public certificates require public DNS validation, which works with Google Domains as described in this guide.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More