Hi I need help:
I installed a new Nginx Proxy Manager and while generating a new Certificate I had an internal Error.
The Output of the log is:
[10/4/2022] [6:25:14 AM] [Nginx ] › info Reloading Nginx
[10/4/2022] [6:25:20 AM] [SSL ] › info Requesting Let'sEncrypt certificates for Cert #20: cloud.abels-lehe.de
[10/4/2022] [6:25:20 AM] [SSL ] › info Command: certbot certonly --config "/etc/letsencrypt.ini" --cert-name "npm-20" --agree-tos --authenticator webroot --email "administrator@abels-lehe.de" --preferred-challenges "dns,http" --domains "cloud.abels-lehe.de"
[10/4/2022] [6:25:22 AM] [Nginx ] › info Reloading Nginx
[10/4/2022] [6:25:22 AM] [Express ] › warning Command failed: certbot certonly --config "/etc/letsencrypt.ini" --cert-name "npm-20" --agree-tos --authenticator webroot --email "administrator@abels-lehe.de" --preferred-challenges "dns,http" --domains "cloud.abels-lehe.de"
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Certificate did not match expected hostname: acme-v02.api.letsencrypt.org. Certificate: {'subject': ((('commonName', 'mail.abels-lehe.de'),),), 'issuer': ((('countryName', 'US'),), (('organizationName', "Let's Encrypt"),), (('commonName', 'R3'),)), 'version': 3, 'serialNumber': '03ED0FDF7B872CCE146FF12DEC0355B11233', 'notBefore': 'Aug 15 02:34:00 2022 GMT', 'notAfter': 'Nov 13 02:33:59 2022 GMT', 'subjectAltName': (('DNS', 'autodiscover.abels-lehe.de'), ('DNS', 'mail.abels-lehe.de')), 'OCSP': ('http://r3.o.lencr.org',), 'caIssuers': ('http://r3.i.lencr.org/',)}
An unexpected error occurred:
requests.exceptions.SSLError: HTTPSConnectionPool(host='acme-v02.api.letsencrypt.org', port=443): Max retries exceeded with url: /directory (Caused by SSLError(CertificateError("hostname 'acme-v02.api.letsencrypt.org' doesn't match either of 'autodiscover.abels-lehe.de', 'mail.abels-lehe.de'")))
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.
[10/4/2022] [6:38:56 AM] [Nginx ] › info Reloading Nginx
[10/4/2022] [6:41:18 AM] [Nginx ] › info Reloading Nginx
Can anyone help me?
Thanks!