Skip to main content

AutoSSL can't verify/install certs

Comments

5 comments

  • Jcats
    It is possible its a .htaccess issue, but what you can do is just remove that directory all together, then rerun AutoSSL to see if it errors again.
    rm -rf /home/MYUSERNAME/public_html/example.com/.well-known
    If the problem persists, then yeah its most likely .htaccess but cPanel has added checks that will modify the .htaccess to allow the authentication to happen which is why its most likely a ownership/permissions issue with the directory itself.
    0
  • cPanelMichael
    :51:21 PM WARN (XID ss7su3) The system failed to create the directory "/home/MYUSERNAME/public_html/example.com/.well-known/acme-challenge" because of an error: Permission denied

    Hello, Check the ownership values on the .well-known and acme-challenge directories to ensure they are no owned by the root user. Or, move them out of the way by renaming the directories and verify if the AutoSSL validation process continues to fail. Regarding your other question, it's not possible to exclude specific domain names under an account from automatic SSL certificate issuance, but you can vote and add feedback to the existing feature request for this at: AutoSSL: Prevent specific domains from being issued free SSL certificates Thank you.
    0
  • Pat Friedl
    Thanks for the help! I'm not sure why I didn't get a notice that you guys responded, but I'll be testing this. Here's another wrinkle... I've got a couple other cPanel accounts no this VPS, and autoSSL is working fine for them. This makes me think that since I previously installed the cert for store.example.com before getting autoSSL capabilities on the WHM account, that the manually installed cert is somehow corrupting the process on this particular cPanel account. First - is that possible, and second - how would I go about rectifying that with a clean uninstall of certs/keys/etc on that domain?
    0
  • Pat Friedl
    Ok, I removed all .well-known directories on the account and re-ran AutoSSL - that seems to have fixed it!
    0
  • cPanelMichael
    New Ok, I removed all .well-known directories on the account and re-ran AutoSSL - that seems to have fixed it!

    I'm happy to see the issue is now resolved. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.