# Letsencrypt SSL via CNAME 

**Project:** Sites | **Board:** Closed | **Votes:** 1
**URL:** https://roadmap.ploi.io/projects/2-site-level-requests/items/173-letsencrypt-ssl-via-cname

---

When migrating or starting new development projects, the origin domain is normally located on another server with the IP pointing there. 
It cannot be replaced to get the SSL so letsencrypt accept the option to get the certificate using CNAME records instead. 
https://community.letsencrypt.org/t/how-to-issue-ssl-to-client-domain-via-cname-records/128079

This is done using the dns01-challenge
https://letsencrypt.org/docs/challenge-types/#dns-01-challenge
This allow to create also domains when DNS for the domain are not public yet (using local hosts file to work on them) and allow to do zero downtime migrations.

This also helps with the problem with cloudflare using grey or orange, as the IP is not important anymore. 

It is a basic feature for letsencrypt and I hope you can consider it. 
Thanks


---

## Comments

**Dennis** (2022-07-24T08:07:10+00:00):
Merging content together with nearly duplicate item.

