Skip to main content

AutoSSL errors, not renewing certificate

Comments

11 comments

  • cPanelLauren
    HI @Volt55 AutoSSL will not work with a forced redirection to https at CloudFlare. The DCV check needs to be able to complete over http. If you login to your CloudFlare dashboard and modify the forced redirection temporarily are you able to complete the DCV check? Furthermore you may be able to add an exception at Cloudflare for the dcv check using their "Page Rules" settings.
    0
  • Daniel Berthiaume
    This might be an old thread, but I've bumped into the same problem today. The Comodo certificate is unfortunately not compatible with the Cloudflare services. But if you do not have too many site on your server (
    0
  • MikeDVB
    HI @Volt55 AutoSSL will not work with a forced redirection to https at CloudFlare. The DCV check needs to be able to complete over http. If you login to your CloudFlare dashboard and modify the forced redirection temporarily are you able to complete the DCV check? Furthermore you may be able to add an exception at Cloudflare for the dcv check using their "Page Rules" settings.

    That's unfortunate. I have always wondered why some Certificate Authorities require HTTP to verify a domain. I know DigiCert did this for a little bit after buying Symantec - but they reverted the behavior.
    0
  • cPanelLauren
    The Comodo certificate is unfortunately not compatible with the Cloudflare services.

    Hi @Neutrall you're correct the HTTP validation won't complete if CloudFlare's SSL is already in place.
    That's unfortunate. I have always wondered why some Certificate Authorities require HTTP to verify a domain.

    Most CA's use HTTP validation with options for other methods. Until recently no other forms of validation were possible with Comodo's free certificate. I am happy to say though that v74 of cPanel offers a DNS validation backup option in the event that validation over HTTP fails. Thanks!
    0
  • Volt55
    Thanks for the replies, I am still struggling to get this sorted. I don't want to add Lets Encrypt really because of their limitations. Also, I have cPanel and Cloudflare which should really play well with each other and not require another additional software to be added into the mix. I'm struggling to find the best method that gives me the best protection with Cloudflare (strict SSL) but the least amount of maintenance time (eg. turning off Cloudflare to get AutoSSL on every domain). There is lots of conflicting advice out there. Has anyone tried a Cloudflare page rule that overcomes this? Perhaps someone can also point me towards how I can setup DNS validation and whether this then suppresses the frequent AutoSSL failure messages?
    0
  • cPanelLauren
    Hi @Volt55 CloudFlare has instructions on the page rules here How do I create a Page Rule? Upon updating to v74 of cPanel you will automatically have the DNS validation method fallback so you shouldn't have to make any modifications. v74 of cPanel is still in CURRENT but should be moved to RELEASE soon Thanks!
    0
  • Volt55
    Thanks, can you help me with the page rule please? I added this to Cloudflare: When the page matches
    0
  • cPanelLauren
    Hi @Volt55 There will be a .txt file created by the autoSSL process which is removed after the validation check is finished or does not succeed.
    0
  • Volt55
    Hi @Volt55 There will be a .txt file created by the autoSSL process which is removed after the validation check is finished or does not succeed.

    Thanks Lauren. So what else would cause the https redirect if I have no rules in .htaccess and the Cloudflare rule says to turn off SSL for this folder? It's a Wordpress site but there are no plugins which do this installed.
    0
  • Volt55
    Just managed to renew the certificate by manually turning off "Always use https" in Cloudflare. The page rule is obviously not working or it can't control that? If I select "SSL: Off" in the page rules, then it greys out the "Always use https" toggle which seems to point to the fact that this is disabled on turning off SSL. Any ideas?
    0
  • cPanelLauren
    Hi @Volt55 You can force https through the WP Dashboard but it would appear that you found the solution. Unfortunately while I can give you some suggestions on how to manage CloudFlare we are not CloudFlare experts and the best advice I can give you for questions about their products would be to check with them directly. They have a forum here Cloudflare Community
    0

Please sign in to leave a comment.