dennis.koch

dennis.koch

Closed

When I turn on user authentication, my SSL certificate can not be renewed. Also new ones cannot be created.

Dennis

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)

no votes yet
dennis.koch

dennis.koch

Item author
·
·

There 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.

no votes yet
Dennis

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;
}
no votes yet
dennis.koch

dennis.koch

Item author
·
·

The domain shouldn't be that old. Less than half a year. Copied that file over from another site.

no votes yet
Dennis

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.

no votes yet

SSL renewal not working when authentication is active

1 total vote
dennis.koch
  • 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