Skip to main content

CloudFlare and AutoSSL

Comments

9 comments

  • cPanelMichael
    Hello @BFFMediaInc, I moved this post to it's own thread. Could you verify which certificate provider is enabled for the AutoSSL feature on this server (e.g. cPanel-signed (Comodo), Let's Encrypt)? Also, in "WHM >> Manage AutoSSL", under the "Logs" tab, what output do you see when the AutoSSL feature attempts to renew the certificate for one of the domain names using CloudFlare? Thank you.
    0
  • Tearabite
    Following because I had an AutoSSL fail to renew behind Cloudflare that caused mucho headaches.. But i"m Still on 66 not 68..
    0
  • cPanelMichael
    Following because I had an AutoSSL fail to renew behind Cloudflare that caused mucho headaches.. But i"m Still on 66 not 68..

    Could you let us know the answers to the questions in my last post?
    Could you verify which certificate provider is enabled for the AutoSSL feature on this server (e.g. cPanel-signed (Comodo), Let's Encrypt)? Also, in "WHM >> Manage AutoSSL", under the "Logs" tab, what output do you see when the AutoSSL feature attempts to renew the certificate for one of the domain names using CloudFlare?

    Thanks!
    0
  • BFFMediaInc
    Hello @BFFMediaInc, I moved this post to it's own thread. Could you verify which certificate provider is enabled for the AutoSSL feature on this server (e.g. cPanel-signed (Comodo), Let's Encrypt)? Also, in "WHM >> Manage AutoSSL", under the "Logs" tab, what output do you see when the AutoSSL feature attempts to renew the certificate for one of the domain names using CloudFlare? Thank you.

    Sorry I did not get notified of the response. I have tried both Comodo and today Let's Encrypt. 12:39:26 PM WARN The domain "sub.domain.com" failed domain control validation: The system queried for a temporary file at ", which was redirected from ". The web server responded with the following error: 526 (Origin SSL Certificate Error). A DNS (Domain Name System) or web server misconfiguration may exist. The domain "sub.domain.com" resolved to an IP address "104.31.95.6" that does not exist on this server. Maybe CF can whitelist this autossl service in someway?
    0
  • BFFMediaInc
    not I use FULL STRICT on CF. I run ecommerce stores and have domain certs and CF certs. both need to be in place for FULL STRICT which encrypts from CF to public and also CF to the server. FULL is only from CF to public. So turning off CF to allow an autossl run first stops the ability to process secure transactions and secondly opens up to other vulnerabilities. It seems that the Comodo auto-ssl even with CF off doesn't want to work anymore for renewal (but does for new) however Let's Encrypt with CF off does work for a renewal/replacement. But again, I can't expose the origin for that waiting period for security reasons as well as traffic and caching issues. So two things to me seem a solution. 1. CF whitelists the autossl and give it the origin details 2. we run mod_cloudflare which allows the IPs of the visitors into the server so we know the ips of customers etc, so why can't WHM recognize it's own ssl lookup and trigger something?
    0
  • cPanelMichael
    Hello, Currently, the AutoSSL providers need to resolve the domain name to an IP address associated with the cPanel server for the domain validation process to succeed. Thus, if that doesn't happen (e.g. the domain name resolves to a CloudFlare IP), then validation will fail.
    So two things to me seem a solution. 1. CF whitelists the autossl and give it the origin details 2. we run mod_cloudflare which allows the IPs of the visitors into the server so we know the ips of customers etc, so why can't WHM recognize it's own ssl lookup and trigger something?

    I encourage you to open a feature request to add full support for CloudFlare and AutoSSL: Submit A Feature Request Thank you.
    0
  • Gabriel Goaga
    Hi, I also have an issue with AutoSSL and it might have something to do with cloudflare that I use for that domain. The email that I get is this, please let me know what should I do: The "cPanel" AutoSSL provider could not renew the SSL certificate without a reduction of coverage because of the following problems: The validation required 1 HTTP redirect, but the AutoSSL provider "cPanel (powered by Comodo)" does not permit HTTP redirects.
    0
  • cPanelMichael
    The validation required 1 HTTP redirect, but the AutoSSL provider "cPanel (powered by Comodo)" does not permit HTTP redirects

    Feel free to open a support ticket using the link in my signature so we can take a closer look. Thank you.
    0
  • Gabriel Goaga
    All set. Your support request ID: 9076577
    Feel free to open a support ticket using the link in my signature so we can take a closer look. Thank you.

    0

Please sign in to leave a comment.