• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Mister PKI

SSL Certificates * SSL Tools * Certificate Decoder

  • PKI Training
  • OpenSSL
  • Keytool
  • PKI Tools
    • Apereo CAS
    • SAML
    • OpenID Connect
  • Get expert help

DNS CNAME Validation for SSL Certificates

January 4, 2024 by Mister PKI Leave a Comment

The article will document how to use the DNS CNAME Validation method to demonstrate control of your domain using DNS, and subsequently automate the SSL certificate approval and issuance process for publicly trusted SSL certificates for your domain.

When requesting an SSL certificate from your CA (Certification Authority) of choice, you should be able to view the status of your request and select an approval method. Approval methods may consist of the following.

  • DNS CNAME validation
  • HTTP validation
  • Email validation

DNS CNAME Validation

The CNAME record creation in this example is based on terminology used in AWS Route 53, but should be generic enough to use in other DNS providers.

  1. After selecting the DNS CNAME Validation, copy the unique token provided.
  2. Create the CNAME record with the value in your public DNS for the appropriate hosted zone.
    • In the record name, host name, or domain name field, enter the domain name your are requesting an SSL certificate for.
    • In the record type field, select CNAME.
    • In the target host or value field, enter the copied unique token.
    • Use the default value for TTL. This can be changed if necessary.
    • Use the default value for the Routing policy, which by default is Simple routing.
    • Save the record
  3. In your CA account, proceed with performing the CNAME validation to prove that you control your domain and have the SSL certificate approved and issued.
  4. After the certificate has been approved and issued, download and install the newly issued certificate.

Conclusion

This article has documented how to prove ownership of your domain by using the CNAME validation method with your DNS provider to approve and issue SSL certificates for your domain. Let us know in the comments if you have any questions. Search our site for articles on how to install the certificate in various application servers.

AWS,  SSL Certificates

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Popular Posts

PKCS12

openssl s_client

Keytool

Keytool list

ECDSA vs RSA

OpenSSL

PKCS7

Certificate Decoder

PKI for DevOps Engineers – Free Training Series

PKI for DevOps Training Hub

Lesson 1 – How TLS and PKI Work

Lesson 2 – Understanding X.509 Certificates

Lesson 3 – Certificate Chains Explained

Lesson 4 – Debug TLS with OpenSSL

Lesson 5 – Verify Certificate Chains

Lesson 6 – Creating CSRs with OpenSSL

Lesson 7 – Working with PKCS12 Certificates

Lesson 8 – Java Keystores and keytool

Lesson 9 – Certificate Expiration Monitoring

Lesson 10 – Automating Certificate Renewal

Lesson 11 – Common TLS Errors

Lesson 12 – PKI Architecture for DevOps

Recent Posts

  • Apache mod_auth_cas: Protect Web Applications with Apereo CAS and Docker
  • Apache mod_auth_mellon: Configure SAML SSO & Docker
  • Configure OpenID Connect (OIDC) in Apereo CAS 7.3 and 8
  • Certificate Ownership Is an Operating Model Problem, Not a Tooling Problem
  • OpenSSL dgst: Create Checksums and Verify Digital Signatures

Footer

  • Twitter
  • YouTube
Mister PKI

Practical security engineering for the systems that establish trust.

Learn OpenSSL Keytool Free training
Work together PKI consulting CAS consulting Sponsored contributions
Site About Support Mister PKI Cookie policy Search
© 2026 Mister PKI Secure systems. Clear guidance.