SSL on CNAME records using Cloudflare Proxy
-
I can't recall where we were discussing it @girish but I just had to solve an email tracking issue with Elastic Email and I thought the insight might help others with this and similar needs.
Normally, when setting a CNAME record to point to another domain, you get SSL errors.
However, if you use Cloudflare for DNS these settings seem to work:
- Enable their Proxy for sub-domain records (
tracking.example.comin this case). - Set SSL/TSL to Full
- Add a Page Rule for
*.example.com/*with Always Use HTTPS = On
Insecure errors and my email tracking issue solved all in one.
I can't remember where we were discussing something I suggested a CNAME alias might help solve something for someone, and I seem to remember @girish saying it could but would have cert errors, well if ever anyone needs a solution like this, it's one of the use-cases for Cloudflare Proxy that I can see worth using it for.
- Enable their Proxy for sub-domain records (
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login