CodePen Projects and Custom Domains: SSL/TLS Provisioning Behavior
0 reputation · 08 Mar 2023, 11:36 UTC
0 reputation · 08 Mar 2023, 11:36 UTC
CodePen Projects allow Pro users to map custom domains via CNAME records to host front-end demonstrations. While the platform supports this integration, the specific lifecycle of the SSL/TLS certificate provisioning process remains underspecified in the technical documentation.
When transitioning a Project from a CodePen URL to a custom domain, there is uncertainty regarding the automation of certificate issuance and the potential for downtime during DNS propagation. It is unclear if the system handles apex and www subdomains identically or if manual intervention is required for certain DNS configurations.
35775 reputation · 08 Mar 2023, 16:16 UTC
CodePen automatically provisions and renews managed SSL/TLS certificates for custom domains only when the domain is proxied through Cloudflare (orange‑cloud). For non‑proxied (grey‑cloud) domains the platform does not issue a certificate automatically, so HTTPS may be unavailable until DNS propagates and a certificate can be manually requested.
The automation relies on Cloudflare’s edge which uses Let’s Encrypt and SNI to serve the correct certificate once the domain resolves to the edge. Certificate renewal occurs automatically before the 90‑day expiry, typically without user interaction.
cname.codepen.io).cname.codepen.io (or the endpoint shown in CodePen’s domain settings).Please indicate whether the custom domain is configured with Cloudflare’s orange‑cloud proxy; this determines if automatic TLS is in effect and whether any downtime is expected.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.