My domain is:
staging.website2022.hfm-nuernberg.de
I ran this command:
sudo certbot --apache
It produced this output:
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for staging.website2022.hfm-nuernberg.de
Waiting for verification...
Challenge failed for domain staging.website2022.hfm-nuernberg.de
http-01 challenge for staging.website2022.hfm-nuernberg.de
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: staging.website2022.hfm-nuernberg.de
Type: connection
Detail: During secondary validation: Fetching
http://staging.website2022.hfm-nuernberg.de/.well-known/acme-challenge/d6IN7N0w73hmCFJhxQnWJJ2EWfT1anmXHG5T_FaiJEQ:
Timeout after connect (your server may be slow or overloaded)
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you're using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.
My web server is (include version):
Apache/2.4.41
The operating system my web server runs on is (include version):
Ubuntu 20.04.4 LTS
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 0.40.0
Log:
2022-04-14 15:05:32,358:DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "POST /acme/authz-v3/98192247670 HTTP/1.1" 200 1166
2022-04-14 15:05:32,358:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Date: Thu, 14 Apr 2022 13:05:32 GMT
Content-Type: application/json
Content-Length: 1166
Connection: keep-alive
Boulder-Requester: 496748960
Cache-Control: public, max-age=0, no-cache
Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
Replay-Nonce: 00026G4_I52H8Y0n4_93PINNNAy0EMDWjeIn4PwNMIexAFY
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
{
"identifier": {
"type": "dns",
"value": "staging.website2022.hfm-nuernberg.de"
},
"status": "invalid",
"expires": "2022-04-21T13:03:59Z",
"challenges": [
{
"type": "http-01",
"status": "invalid",
"error": {
"type": "urn:ietf:params:acme:error:connection",
"detail": "During secondary validation: Fetching http://staging.website2022.hfm-nuernberg.de/.well-known/acme-challenge/d6IN7N0w73hmCFJhxQnWJJ2EWfT1anmXHG5T_FaiJEQ: Timeout after connect (your server may be slow or overloaded)",
"status": 400
},
"url": "https://acme-v02.api.letsencrypt.org/acme/chall-v3/98192247670/T8QpIw",
"token": "d6IN7N0w73hmCFJhxQnWJJ2EWfT1anmXHG5T_FaiJEQ",
"validationRecord": [
{
"url": "http://staging.website2022.hfm-nuernberg.de/.well-known/acme-challenge/d6IN7N0w73hmCFJhxQnWJJ2EWfT1anmXHG5T_FaiJEQ",
"hostname": "staging.website2022.hfm-nuernberg.de",
"port": "80",
"addressesResolved": [
"141.75.87.40"
],
"addressUsed": "141.75.87.40"
}
],
"validated": "2022-04-14T13:04:02Z"
}
]
}
2022-04-14 15:05:32,359:DEBUG:acme.client:Storing nonce: 00026G4_I52H8Y0n4_93PINNNAy0EMDWjeIn4PwNMIexAFY
2022-04-14 15:05:32,359:WARNING:certbot.auth_handler:Challenge failed for domain staging.website2022.hfm-nuernberg.de
2022-04-14 15:05:32,359:INFO:certbot.auth_handler:http-01 challenge for staging.website2022.hfm-nuernberg.de
2022-04-14 15:05:32,360:DEBUG:certbot.reporter:Reporting to user: The following errors were reported by the server:
Domain: staging.website2022.hfm-nuernberg.de
Type: connection
Detail: During secondary validation: Fetching http://staging.website2022.hfm-nuernberg.de/.well-known/acme-challenge/d6IN7N0w73hmCFJhxQnWJJ2EWfT1anmXHG5T_FaiJEQ: Timeout after connect (your server may be slow or overloaded)
To fix these errors, please make sure that your domain name was entered correctly and the DNS A/AAAA record(s) for that domain contain(s) the right IP address. Additionally, please check that your computer has a publicly routable IP address and that no firewalls are preventing the server from communicating with the client. If you're using the webroot plugin, you should also verify that you are serving files from the webroot path you provided.
2022-04-14 15:05:32,360:DEBUG:certbot.error_handler:Encountered exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 91, in handle_authorizations
self._poll_authorizations(authzrs, max_retries, best_effort)
File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 180, in _poll_authorizations
raise errors.AuthorizationError('Some challenges have failed.')
certbot.errors.AuthorizationError: Some challenges have failed.
2022-04-14 15:05:32,360:DEBUG:certbot.error_handler:Calling registered functions
2022-04-14 15:05:32,360:INFO:certbot.auth_handler:Cleaning up challenges
2022-04-14 15:05:32,564:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
File "/usr/bin/certbot", line 11, in <module>
load_entry_point('certbot==0.40.0', 'console_scripts', 'certbot')()
File "/usr/lib/python3/dist-packages/certbot/main.py", line 1382, in main
return config.func(config, plugins)
File "/usr/lib/python3/dist-packages/certbot/main.py", line 1132, in run
new_lineage = _get_and_save_cert(le_client, config, domains,
File "/usr/lib/python3/dist-packages/certbot/main.py", line 121, in _get_and_save_cert
lineage = le_client.obtain_and_enroll_certificate(domains, certname)
File "/usr/lib/python3/dist-packages/certbot/client.py", line 417, in obtain_and_enroll_certificate
cert, chain, key, _ = self.obtain_certificate(domains)
File "/usr/lib/python3/dist-packages/certbot/client.py", line 348, in obtain_certificate
orderr = self._get_order_and_authorizations(csr.data, self.config.allow_subset_of_names)
File "/usr/lib/python3/dist-packages/certbot/client.py", line 396, in _get_order_and_authorizations
authzr = self.auth_handler.handle_authorizations(orderr, best_effort)
File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 91, in handle_authorizations
self._poll_authorizations(authzrs, max_retries, best_effort)
File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 180, in _poll_authorizations
raise errors.AuthorizationError('Some challenges have failed.')
certbot.errors.AuthorizationError: Some challenges have failed.
More information:
Letsdebug HTTP-01
Letsdebug TLS-ALPN-01
Command
certbot renew --dry-run
2022-04-14 15:05:32,359:DEBUG:acme.client:Storing nonce: 00026G4_I52H8Y0n4_93PINNNAy0EMDWjeIn4PwNMIexAFY
2022-04-14 15:05:32,359:WARNING:certbot.auth_handler:Challenge failed for domain staging.website2022.hfm-nuernberg.de
2022-04-14 15:05:32,359:INFO:certbot.auth_handler:http-01 challenge for staging.website2022.hfm-nuernberg.de
2022-04-14 15:05:32,360:DEBUG:certbot.reporter:Reporting to user: The following errors were reported by the server:
Domain: staging.website2022.hfm-nuernberg.de
Type: connection
Detail: During secondary validation: Fetching http://staging.website2022.hfm-nuernberg.de/.well-known/acme-challenge/d6IN7N0w73hmCFJhxQnWJJ2EWfT1anmXHG5T_FaiJEQ: Timeout after connect (your server may be slow or overloaded)
To fix these errors, please make sure that your domain name was entered correctly and the DNS A/AAAA record(s) for that domain contain(s) the right IP address. Additionally, please check that your computer has a publicly routable IP address and that no firewalls are preventing the server from communicating with the client. If you're using the webroot plugin, you should also verify that you are serving files from the webroot path you provided.
2022-04-14 15:05:32,360:DEBUG:certbot.error_handler:Encountered exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 91, in handle_authorizations
self._poll_authorizations(authzrs, max_retries, best_effort)
File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 180, in _poll_authorizations
raise errors.AuthorizationError('Some challenges have failed.')
certbot.errors.AuthorizationError: Some challenges have failed.
2022-04-14 15:05:32,360:DEBUG:certbot.error_handler:Calling registered functions
2022-04-14 15:05:32,360:INFO:certbot.auth_handler:Cleaning up challenges
2022-04-14 15:05:32,564:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
File "/usr/bin/certbot", line 11, in <module>
load_entry_point('certbot==0.40.0', 'console_scripts', 'certbot')()
File "/usr/lib/python3/dist-packages/certbot/main.py", line 1382, in main
return config.func(config, plugins)
File "/usr/lib/python3/dist-packages/certbot/main.py", line 1132, in run
new_lineage = _get_and_save_cert(le_client, config, domains,
File "/usr/lib/python3/dist-packages/certbot/main.py", line 121, in _get_and_save_cert
lineage = le_client.obtain_and_enroll_certificate(domains, certname)
File "/usr/lib/python3/dist-packages/certbot/client.py", line 417, in obtain_and_enroll_certificate
cert, chain, key, _ = self.obtain_certificate(domains)
File "/usr/lib/python3/dist-packages/certbot/client.py", line 348, in obtain_certificate
orderr = self._get_order_and_authorizations(csr.data, self.config.allow_subset_of_names)
File "/usr/lib/python3/dist-packages/certbot/client.py", line 396, in _get_order_and_authorizations
authzr = self.auth_handler.handle_authorizations(orderr, best_effort)
File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 91, in handle_authorizations
self._poll_authorizations(authzrs, max_retries, best_effort)
File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 180, in _poll_authorizations
raise errors.AuthorizationError('Some challenges have failed.')
certbot.errors.AuthorizationError: Some challenges have failed.
2022-04-14 15:24:14,469:DEBUG:certbot.main:certbot version: 0.40.0
2022-04-14 15:24:14,469:DEBUG:certbot.main:Arguments: ['--dry-run']
2022-04-14 15:24:14,470:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2022-04-14 15:24:14,479:DEBUG:certbot.log:Root logging level set at 20
2022-04-14 15:24:14,479:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2022-04-14 15:24:14,480:DEBUG:certbot.renewal:no renewal failures