CDN Wildcard Domains
Configure wildcard domains with SSL termination at the CDN level for Cloudflare, CloudFront, and Akamai
When using a CDN (Content Delivery Network) with wildcard Domains, public SSL/TLS termination happens at the CDN rather than at the Blossom origin. This guide explains how to configure that relationship.
Note: If you want Blossom to handle wildcard TLS directly, see Direct Wildcard Domains.
Overview
With CDN-based SSL termination:
- Your CDN handles the SSL certificate for
*.example.com - Traffic between users and the CDN is encrypted
- Traffic between the CDN and the Blossom origin uses the selected origin mode
CDN Provider Configuration
Cloudflare
- Add your domain to Cloudflare
- Create a wildcard DNS record (
*.example.com) using the origin target Blossom displays - In Blossom, configure the domain with:
- Mode: HTTP Only for Flexible SSL
- Mode: Self-signed SSL for Full SSL
AWS CloudFront
- Request a wildcard certificate in AWS Certificate Manager
- Create a CloudFront distribution
- Configure the wildcard domain as an alternate domain name
- Point the distribution to the origin target Blossom displays
- In Blossom, configure the domain with:
- Mode: HTTP Only (CloudFront doesn’t support self-signed certificates)
Note: With CloudFront, even though we configure HTTP Only mode in Blossom, the traffic is still encrypted. Here’s how it works:
- Your origin (e.g.,
origin.example.com) can use HTTPS- Your CloudFront distribution handles
*.example.comandwww.example.com- CloudFront passes the Host header through to your origin
- The traffic between CloudFront and your origin remains encrypted via
https://origin.example.com
Akamai
- Configure your wildcard certificate in Akamai
- Create a property for your domain
- Configure origin settings with the target Blossom displays
- In Blossom, configure the domain with:
- Mode: Self-signed SSL or HTTP Only depending on your Akamai configuration
SSL Modes Explained
HTTP Only Mode
- Use when your CDN doesn’t support self-signed certificates
- Traffic between CDN and Blossom is unencrypted
- Example: CloudFront, Cloudflare Flexible SSL
Self-signed SSL Mode
- Use when your CDN supports self-signed certificates for origin
- Provides end-to-end encryption
- Example: Cloudflare Full SSL, Akamai with custom certificates
Important Notes
- The CDN handles the public SSL certificate for your wildcard domain
- Your CDN’s DNS must point to the origin target Blossom displays
- Certificate renewal is handled by your CDN, not by Blossom
Troubleshooting
If you encounter issues:
- Verify your CDN’s DNS configuration
- Check your CDN’s SSL/TLS configuration
- Confirm the correct SSL mode is selected in Blossom
- Check Environment logs and Domain Activity for origin connection issues