Hi there,
I am using WordPress Multisite. This website that I am getting the SSL error is part of the multisite. I am not able to renew my SSL certificate due to the following error:
The validation required 1 HTTP redirect, but the AutoSSL provider “cPanel (powered by Comodo)” does not permit HTTP redirects. When the system accessed the “http:///.well-known/pki-validation/096FD5CDB2FFDF0548AAE2726007E358.txt” URL, it redirected to the “http:///.well-known/pki-validation/096FD5CDB2FFDF0548AAE2726007E358.txt” URL.
How can I exclude the files accessed by AutoSSL and Let's Encrypt from being redirected in a WordPress Multisite.
Or just exclude this folder ".well-known" from being redirected.
I've have tried using this .htaccess code but this haven't worked for me.
RewriteCond %{HTTPS} off
RewriteCond %{REQUEST_URI} !^/\d+\.BIN_AUTOSSL_CHECK_PL__\.\w+\.tmp$ [NC]
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/ [NC]
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
Thank you for your help.
Regards,
David.
I am using WordPress Multisite. This website that I am getting the SSL error is part of the multisite. I am not able to renew my SSL certificate due to the following error:
The validation required 1 HTTP redirect, but the AutoSSL provider “cPanel (powered by Comodo)” does not permit HTTP redirects. When the system accessed the “http:///.well-known/pki-validation/096FD5CDB2FFDF0548AAE2726007E358.txt” URL, it redirected to the “http:///.well-known/pki-validation/096FD5CDB2FFDF0548AAE2726007E358.txt” URL.
How can I exclude the files accessed by AutoSSL and Let's Encrypt from being redirected in a WordPress Multisite.
Or just exclude this folder ".well-known" from being redirected.
I've have tried using this .htaccess code but this haven't worked for me.
RewriteCond %{HTTPS} off
RewriteCond %{REQUEST_URI} !^/\d+\.BIN_AUTOSSL_CHECK_PL__\.\w+\.tmp$ [NC]
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/ [NC]
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
Thank you for your help.
Regards,
David.