Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Question of autossl replacing .htaccess

Discussion in 'Security' started by royce1054, Aug 24, 2017.

  1. royce1054

    royce1054 Registered

    Aug 4, 2017
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    12:59:19 AM Checking websites for “user” …
    12:59:19 AM The website “”, owned by “user”, has a faulty SSL certificate (OPENSSL_VERIFY:0:10:CERT_HAS_EXPIRED NOT_ALL_DOMAINS ALMOST_EXPIRED AUTOSSL_READY_FOR_RENEWAL). AutoSSL will attempt to replace this certificate.
    12:59:19 AM WARN (XID 7d73ar) Process “10614” (EUID “742”, EGID “743 743”) cannot replace “/home/user/public_html/.htaccess” because this file has UID “99” and GID “743”. at bin/ line 658.
    12:59:19 AM The system has completed the AutoSSL check for “user”.

    We are using DSO and the .htaccess file is owned by nobody:user.

    Do I need to change the ownership of the .htaccess file to get the ssl cert to auto-update?

  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    You will need to update the ownership of the .htaccess file to the account username, or consider enabling the following option under the "Domains" tab in "WHM >> Tweak Settings":

    Use a Global DCV Passthrough instead of .htaccess modification (requires EA4)

    Per it's description:

    When you enable this option, Apache adds global rewrite rules to the webserver configuration so that the system does not process additional rewrite rules for DCV filenames. These global rules make it unnecessary for cPanel & WHM to modify each virtual host’s .htaccess file. Note: When you enable this option, the system receives a trivial performance penalty because all of the HTTP requests must be matched against the DCV filename regular expressions.

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice