Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is: admin.tadfeen.nl
I ran this command: sudo certbot certonly --webroot -w /usr/share/nginx/html/.well-known/acme-challenge -d admin.tadfeen.nl --dry-run
this is my config in
/etc/nginx/sites-available
server {
server_name admin.tadfeen.nl;
location ~ /.well-known/acme-challenge/ {
allow all;
root /usr/share/nginx/html/.well-known/acme-challenge;
}
location / {
proxy_pass http://localhost:3001;
}
return 404; # managed by Certbot
}
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Simulating a certificate request for admin.tadfeen.nl
Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
Domain: admin.tadfeen.nl
Type: unauthorized
Detail: 2a01:4f8:c012:10a0::1: Invalid response from http://admin.tadfeen.nl/.well-known/acme-challenge/TJfCIrtYhy071FkbeWOCVumogj1DrUcLUiM24CFqO-Q: 404
Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains serve their content from the provided --webroot-path/-w and that files created there can be downloaded from the internet.
2023-06-30 14:53:33,040:DEBUG:acme.client:Sending POST request to https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/7110541454:
{
"protected": "eyJhbGciOiAiUlMyNTYiLCAia2lkIjogImh0dHBzOi8vYWNtZS1zdGFnaW5nLXYwMi5hcGkubGV0c2VuY3J5cHQub3JnL2FjbWUvYWNjdC8xMDkwOTYyMjQiLCAibm9uY2UiOiAiODhCODhuN3dYR1pWSzdKV2FkQzV2Tms5aGNxQ1dZNW9JbnJBYURYa0RDS1Rpb2ciLCAidXJsIjogImh0dHBzOi8vYWNtZS1zdGFnaW5nLXYwMi5hcGkubGV0c2VuY3J5cHQub3JnL2FjbWUvYXV0aHotdjMvNzExMDU0MTQ1NCJ9",
"signature": "q0e8ygkj0A9E4DUqOfmvu_MH5bUDCDEQXn8HohTp3TynLFwS9ttPk5t8gv0sw5aaRRhhxkcREQjJGC4DJbsS9OXyrQXT-ipQPZRkQuhHQx4ZXUBb1t7oswsVJIaOD-Vv5M7ameDJNGJ8GbPCCeetF-IwzjZvPn9dz_OlI1BbF-p4Rwl7zqgjL8vIVG5lJsFYsrzX6Ocb1OwHxpSzcM5ibyfvHoQTDvziSf_pWhuZrYsiEX_GEwwR74tauJ3QuTU4lyMAdYDwe2hJAVv7mnB6DlQuUaXA_A6YHo-JmbqVcEz8pqNQ-TziVbSWv4b4TSbq531zUgugapbOinrbQBrpXA",
"payload": ""
}
2023-06-30 14:53:33,195:DEBUG:urllib3.connectionpool:https://acme-staging-v02.api.letsencrypt.org:443 "POST /acme/authz-v3/7110541454 HTTP/1.1" 200 1089
2023-06-30 14:53:33,196:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Date: Fri, 30 Jun 2023 14:53:33 GMT
Content-Type: application/json
Content-Length: 1089
Connection: keep-alive
Boulder-Requester: 109096224
Cache-Control: public, max-age=0, no-cache
Link: <https://acme-staging-v02.api.letsencrypt.org/directory>;rel="index"
Replay-Nonce: 7F3CPvP1BxhY_Oaf-cy9jrNgAUsAtPXG_BYFyHxgatCZggI
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
{
"identifier": {
"type": "dns",
"value": "admin.tadfeen.nl"
},
"status": "invalid",
"expires": "2023-07-07T14:53:31Z",
"challenges": [
{
"type": "http-01",
"status": "invalid",
"error": {
"type": "urn:ietf:params:acme:error:unauthorized",
"detail": "2a01:4f8:c012:10a0::1: Invalid response from http://admin.tadfeen.nl/.well-known/acme-challenge/TJfCIrtYhy071FkbeWOCVumogj1DrUcLUiM24CFqO-Q: 404",
"status": 403
},
"url": "https://acme-staging-v02.api.letsencrypt.org/acme/chall-v3/7110541454/OKJntA",
"token": "TJfCIrtYhy071FkbeWOCVumogj1DrUcLUiM24CFqO-Q",
"validationRecord": [
{
"url": "http://admin.tadfeen.nl/.well-known/acme-challenge/TJfCIrtYhy071FkbeWOCVumogj1DrUcLUiM24CFqO-Q",
"hostname": "admin.tadfeen.nl",
"port": "80",
"addressesResolved": [
"49.13.51.27",
"2a01:4f8:c012:10a0::1"
],
"addressUsed": "2a01:4f8:c012:10a0::1"
}
],
"validated": "2023-06-30T14:53:31Z"
}
]
}
2023-06-30 14:53:33,196:DEBUG:acme.client:Storing nonce: 7F3CPvP1BxhY_Oaf-cy9jrNgAUsAtPXG_BYFyHxgatCZggI
2023-06-30 14:53:33,197:INFO:certbot._internal.auth_handler:Challenge failed for domain admin.tadfeen.nl
2023-06-30 14:53:33,197:INFO:certbot._internal.auth_handler:http-01 challenge for admin.tadfeen.nl
2023-06-30 14:53:33,197:DEBUG:certbot._internal.display.obj:Notifying user:
Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
Domain: admin.tadfeen.nl
Type: unauthorized
Detail: 2a01:4f8:c012:10a0::1: Invalid response from http://admin.tadfeen.nl/.well-known/acme-challenge/TJfCIrtYhy071FkbeWOCVumogj1DrUcLUiM24CFqO-Q: 404
Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains serve their content from the provided --webroot-path/-w and that files created there can be downloaded from the internet.
2023-06-30 14:53:33,198:DEBUG:certbot._internal.error_handler:Encountered exception:
Traceback (most recent call last):
File "/snap/certbot/3026/lib/python3.8/site-packages/certbot/_internal/auth_handler.py", line 108, in handle_authorizations
self._poll_authorizations(authzrs, max_retries, max_time_mins, best_effort)
File "/snap/certbot/3026/lib/python3.8/site-packages/certbot/_internal/auth_handler.py", line 212, in _poll_authorizations
raise errors.AuthorizationError('Some challenges have failed.')
certbot.errors.AuthorizationError: Some challenges have failed.```
My web server is (include version): Nginx
The operating system my web server runs on is (include version): Ubuntu 20.0
My hosting provider, if applicable, is: Hertzner
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.6.0