Certificate renew failed (error 401)

Hi,

I'm a bit lost trying to renew my certificates for my Psono password manager. The rules on the firewall are OK since it's the same one I used to create the initial certificate, but the challenge doesn't go through. Any ideas ?

Thank a lot in advance

My domain is: psono.securikeys-it.com

I ran this command: certbot renew --dry-run

It produced this output:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/psono.securikeys-it.com.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Simulating renewal of an existing certificate for psono.securikeys-it.com

Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
  Domain: psono.securikeys-it.com
  Type:   unauthorized
  Detail: 80.11.67.167: Invalid response from http://psono.securikeys-it.com/.well-known/acme-challenge/z1AwWcTK6pBAvM_EN1JphD9BIYU2lusnEomFp92SeCM: 401

Hint: The Certificate Authority failed to verify the temporary nginx configuration changes made by Certbot. Ensure the listed domains point to this nginx server and that it is accessible from the internet.

Failed to renew certificate psono.securikeys-it.com with error: Some challenges have failed.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
All simulated renewals failed. The following certificates could not be renewed:
  /etc/letsencrypt/live/psono.securikeys-it.com/fullchain.pem (failure)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 renew failure(s), 0 parse failure(s)

My web server is (include version): A docker container

The operating system my web server runs on is (include version): Debian 12

I can login to a root shell on my machine (yes or no, or I don't know): yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel): no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):certbot 2.11.0

Welcome to the Let's Encrypt Community.

I get the same 401 Unauthorized response using Let's Debug.

Have you examined your server logs to find more information about why you are returning an HTTP 401 response?

4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.