Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    SSL on CNAME records using Cloudflare Proxy

    Discuss
    certificates cloudflare
    1
    1
    201
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • marcusquinn
      marcusquinn last edited by marcusquinn

      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:

      1. Enable their Proxy for sub-domain records (tracking.example.com in this case).
      2. Set SSL/TSL to Full
      3. 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.

      We're not here for a long time - but we are here for a good time :)
      Jersey/UK
      Work & Ecommerce Advice: https://brandlight.org
      Personal & Software Tips: https://marcusquinn.com

      1 Reply Last reply Reply Quote 1
      • First post
        Last post
      Powered by NodeBB