Cant create Certificate

Hello,

i cant create my Certificate on my docker container:

[7/25/2022] [12:18:34 PM] [SSL ] › :information_source: info Requesting Let'sEncrypt certificates for Cert #1: HOST.de
[7/25/2022] [12:18:34 PM] [SSL ] › :information_source: info Command: certbot certonly --config "/etc/letsencrypt.ini" --cert-name "npm-1" --agree-tos --authenticator webroot --email "host" --preferred-challenges "dns,http" --domains "host"
[7/25/2022] [12:18:55 PM] [Nginx ] › :information_source: info Reloading Nginx
[7/25/2022] [12:18:55 PM] [Express ] › :warning: warning Command failed: certbot certonly --config "/etc/letsencrypt.ini" --cert-name "npm-1" --agree-tos --authenticator webroot --email "host" --preferred-challenges "dns,http" --domains "host"
Saving debug log to /var/log/letsencrypt/letsencrypt.log
An unexpected error occurred:
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='acme-v02.api.letsencrypt.org', port=443): Max retries exceeded with url: /directory (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9b92aeb278>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.

Can anyone help me?

Please make sure your Docker environment can resolve hostnames using DNS.

6 Likes

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