An error occurred the last time AutoSSL ran
Hello,
For my new personal domain I installed Let's Encrypt SSL via the cPanel of my hosting provider.
However, I noticed the following error prntscr.com/nrz9l2 in cPanel.
Can you help me resolve it, please?
-
Hi @xameleon The domain in the screenshot you provided has a forced redirection to https in place with the litespeed webserver. In order for the DCV check to complete successfully you'd need to either add an exception for the DCV check or temporarily remove it so the check can complete. Thanks! 0 -
@cPanelLauren Thank you very much for the insight! How do I add an exception, via .htaccess or somewhere else? 0 -
Hi @xameleon You should be able to add this in the .htaccess file. 0 -
@cPanelLauren Would it be possible to tell me what to include in the .htaccess? Would appreciate it very much! 0 -
Well, it depends on how you have the redirect to https set up. But if it's set up in the .htaccess you could exclude the URL for the DCV check the links here should be helpful: htaccess redirect to HTTPS except a few urls Using htaccess to redirect all but ONE PAGE to https You'd want to add 0 -
This is how my redirect currently looks like in .htaccess: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ {HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteCond %{HTTPS} on RewriteCond %{THE_REQUEST} /{HTTP_HOST}%{REQUEST_URI} [L,R=30 0 -
Wrong, I actually think it should look like this now: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ {HTTP_HOST}%{REQUEST_URI} [L,R=301] # force http:// for selected URLs RewriteCond %{HTTPS} on RewriteCond %{THE_REQUEST} /.well-known/ [NC] RewriteRule ^ 0
Please sign in to leave a comment.
Comments
7 comments