dennis.koch
When I turn on user authentication, my SSL certificate can not be renewed. Also new ones cannot be created.
Dennis
@Denniskoch Can you check if this file is present on your server?
/etc/nginx/ploi/yourdomain.com/server/disable-basic-auth-well-known.conf
(Replace yourdomain.com with the domain you're having issues with)
dennis.koch
Item authorThere is only a auth.conf
. I checked another site which has the correct file in there.
I also tried removing auth and adding the user again, and removing SSL and adding a new certificate. Both worked but didn't create the corresponding conf file.
Dennis
Is that domain a fairly old domain created via Ploi? If you can, create that file I mentioned above with these contents and restart NGINX:
# This location allows the SSL requests and renewals by Certbot & Let's Encrypt to go through.
# If you're not comfortable with this setting, you may remove this file and restart NGINX.
location /.well-known/ {
auth_basic off;
}
dennis.koch
Item authorThe domain shouldn't be that old. Less than half a year. Copied that file over from another site.
Dennis
Is it possible for you to try or test this again with a fresh domain (or testing subdomain)? It should've been fixed by now.
SSL renewal not working when authentication is active
-
Dennis moved item to board Closed
2 years ago -
Dennis moved item to board Under review
2 years ago -
dennis.koch moved item to project Site Level Requests
2 years ago -
dennis.koch created the item
2 years ago