Interner Error | ssl certifcate

I just wanted to try certbot to reinsatlliren and here comes an error out can be there something


image

Please show:
ls -l /usr/bin/certbot

3 Likes

What shows?:
/usr/bin/certbot --version

And what shows?:
certbot --version

3 Likes

image

and if i want to go to http://portainer.the-dodo.de/ this is not working only if i have the vpn on there is also a problem
well with portainer it is not bad but with other sites

Step 6 failed because a previous step was skipped.
You still have version 1.21.0 installed.

3 Likes

What shows?:
snap list

3 Likes

image

So, you do have two versions of certbot installed.
That means...
You skipped the step where you uninstall the older version.

3 Likes

now I have only 2.5.0 and still does not work

image

logs in docker nginxproxymanager Container

[5/5/2023] [7:00:25 PM] [Nginx    ] › ⬤  debug     Deleting file: /data/nginx/proxy_host/2.conf
[5/5/2023] [7:00:25 PM] [Nginx    ] › ⬤  debug     Deleting file: /data/nginx/proxy_host/2.conf.err
[5/5/2023] [7:00:25 PM] [Nginx    ] › ⬤  debug     Could not delete file: {
  "errno": -2,
  "syscall": "unlink",
  "code": "ENOENT",
  "path": "/data/nginx/proxy_host/2.conf.err"
}
[5/5/2023] [7:00:25 PM] [Nginx    ] › ℹ  info      Reloading Nginx
[5/5/2023] [7:00:30 PM] [SSL      ] › ℹ  info      Requesting Let'sEncrypt certificates for Cert #29: portainer.the-dodo.de
[5/5/2023] [7:00:30 PM] [SSL      ] › ℹ  info      Command: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-29" --agree-tos --authenticator webroot --email "dominik261@outlook.de" --preferred-challenges "dns,http" --domains "portainer.the-dodo.de" 
[5/5/2023] [7:00:33 PM] [Nginx    ] › ⬤  debug     Deleting file: /data/nginx/temp/letsencrypt_29.conf
[5/5/2023] [7:00:33 PM] [Nginx    ] › ℹ  info      Reloading Nginx
[5/5/2023] [7:00:33 PM] [Express  ] › ⚠  warning   Command failed: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-29" --agree-tos --authenticator webroot --email "dominik261@outlook.de" --preferred-challenges "dns,http" --domains "portainer.the-dodo.de" 
Saving debug log to /tmp/letsencrypt-log/letsencrypt.log
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/letsencrypt-log/letsencrypt.log or re-run Certbot with -v for more details.

What does this file show?:

3 Likes

image

Unfortunately

is not a very good piece of software :frowning:
[especially when things go wrong and you are trying to troubleshoot and find exactly where a problem exists]

3 Likes

@rg305 you can also see here

What does that file contain?

3 Likes

Where?

3 Likes

image

Is that within the right container?

3 Likes

what do you mean ?