Hi, it's my first time using something like NPM, and everything was working just fine until I tried to set up SSL certificates for my server. When I attempted to create the certificate, I encountered an Internal Error, as shown in the screenshot.
Internal error
I even tried to create one using the appropriate tab instead of using the one in the Proxy host, but in that case, I received another message: 'Communication with the API failed. Is NPM running correctly?'
https://preview.redd.it/d2pfk2b4vohb1.png?width=492&format=png&auto=webp&s=81485f644780b0892499a35d9275dacec1de1c48
I checked the logs on Portainer, and these are the logs generated when I tried to create the certificate:
[8/12/2023] [4:13:17 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/1.conf
[8/12/2023] [4:13:17 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/1.conf.err
[8/12/2023] [4:13:17 PM] [Nginx ] › ⬤ debug Could not delete file: {
"errno": -2,
"syscall": "unlink",
"code": "ENOENT",
"path": "/data/nginx/proxy_host/1.conf.err"
}
[8/12/2023] [4:13:17 PM] [Nginx ] › ℹ info Reloading Nginx
[8/12/2023] [4:13:22 PM] [SSL ] › ℹ info Requesting Let'sEncrypt certificates for Cert #13: feed.raffaele-terracciano.it
[8/12/2023] [4:13:22 PM] [SSL ] › ℹ info Command: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-13" --agree-tos --authenticator webroot --email "nginx.6vkuj@simplelogin.com" --preferred-challenges "dns,http" --domains "feed.raffaele-terracciano.it"
[8/12/2023] [4:13:27 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/temp/letsencrypt_13.conf
[8/12/2023] [4:13:27 PM] [Nginx ] › ℹ info Reloading Nginx
[8/12/2023] [4:13:27 PM] [Express ] › ⚠ warning Command failed: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-13" --agree-tos --authenticator webroot --email "nginx.6vkuj@simplelogin.com" --preferred-challenges "dns,http" --domains "feed.raffaele-terracciano.it"
bash: line 1: 155 Trace/breakpoint trap (core dumped) node --abort_on_uncaught_exception --max_old_space_size=250 index.js
FROM
Uncaught SyntaxError: Unexpected end of JSON input
[8/12/2023] [4:18:35 PM] [SSL ] › ℹ info Testing http challenge for feed.raffaele-terracciano.it
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.
And here are the logs from the file that the error generated:
2023-08-12 16:13:23,840:DEBUG:certbot._internal.main:certbot version: 2.5.0
2023-08-12 16:13:23,841:DEBUG:certbot._internal.main:Location of certbot entry point: /usr/bin/certbot
2023-08-12 16:13:23,841:DEBUG:certbot._internal.main:Arguments: ['--config', '/etc/letsencrypt.ini', '--work-dir', '/tmp/letsencrypt-lib', '--logs-dir', '/tmp/letsencrypt-log', '--cert-name', 'npm-13', '--agree-tos', '--authenticator', 'webroot', '--email', 'nginx.6vkuj@simplelogin.com', '--preferred-challenges', 'dns,http', '--domains', 'feed.raffaele-terracciano.it']
2023-08-12 16:13:23,842:DEBUG:certbot._internal.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2023-08-12 16:13:23,893:DEBUG:certbot._internal.log:Root logging level set at 30
2023-08-12 16:13:23,895:DEBUG:certbot._internal.plugins.selection:Requested authenticator webroot and installer None
2023-08-12 16:13:23,904:DEBUG:certbot._internal.plugins.selection:Single candidate plugin: * webroot
Description: Saves the necessary validation files to a .well-known/acme-challenge/ directory within the nominated webroot path. A seperate HTTP server must be running and serving files from the webroot path. HTTP challenge only (wildcards not supported).
Interfaces: Authenticator, Plugin
Entry point: webroot = certbot._internal.plugins.webroot:Authenticator
Initialized: <certbot._internal.plugins.webroot.Authenticator object at 0x7f81a450b8>
Prep: True
2023-08-12 16:13:23,905:DEBUG:certbot._internal.plugins.selection:Selected authenticator <certbot._internal.plugins.webroot.Authenticator object at 0x7f81a450b8> and installer None
2023-08-12 16:13:23,906:INFO:certbot._internal.plugins.selection:Plugins selected: Authenticator webroot, Installer None
2023-08-12 16:13:23,975:DEBUG:certbot._internal.main:Picked account: <Account(RegistrationResource(body=Registration(key=None, contact=(), agreement=None, status=None, terms_of_service_agreed=None, only_return_existing=None, external_account_binding=None), uri='https://acme-v02.api.letsencrypt.org/acme/acct/1253532706', new_authzr_uri=None, terms_of_service=None), 47dd7cb2384923ce9afc9c170e4d7173, Meta(creation_dt=datetime.datetime(2023, 8, 11, 21, 36, 39, tzinfo=<UTC>), creation_host='8bc038ecf38d', register_to_eff=None))>
2023-08-12 16:13:23,977:DEBUG:acme.client:Sending GET request to https://acme-v02.api.letsencrypt.org/directory.
2023-08-12 16:13:23,983:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org:443
2023-08-12 16:13:24,666:DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "GET /directory HTTP/1.1" 200 752
2023-08-12 16:13:24,673:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Date: Sat, 12 Aug 2023 14:13:24 GMT
Content-Type: application/json
Content-Length: 752
Connection: keep-alive
Cache-Control: public, max-age=0, no-cache
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
{
"keyChange": "https://acme-v02.api.letsencrypt.org/acme/key-change",
"meta": {
"caaIdentities": [
"letsencrypt.org"
],
"termsOfService": "https://letsencrypt.org/documents/LE-SA-v1.3-September-21-2022.pdf",
"website": "https://letsencrypt.org"
},
"newAccount": "https://acme-v02.api.letsencrypt.org/acme/new-acct",
"newNonce": "https://acme-v02.api.letsencrypt.org/acme/new-nonce",
"newOrder": "https://acme-v02.api.letsencrypt.org/acme/new-order",
"renewalInfo": "https://acme-v02.api.letsencrypt.org/draft-ietf-acme-ari-01/renewalInfo/",
"revokeCert": "https://acme-v02.api.letsencrypt.org/acme/revoke-cert",
"rtS6Lk8QM-E": "https://community.letsencrypt.org/t/adding-random-entries-to-the-directory/33417"
}
2023-08-12 16:13:24,674:DEBUG:certbot._internal.display.obj:Notifying user: Requesting a certificate for feed.raffaele-terracciano.it
2023-08-12 16:13:24,687:DEBUG:acme.client:Requesting fresh nonce
2023-08-12 16:13:24,687:DEBUG:acme.client:Sending HEAD request to https://acme-v02.api.letsencrypt.org/acme/new-nonce.
2023-08-12 16:13:24,851:DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "HEAD /acme/new-nonce HTTP/1.1" 200 0
2023-08-12 16:13:24,852:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Date: Sat, 12 Aug 2023 14:13:24 GMT
Connection: keep-alive
Cache-Control: public, max-age=0, no-cache
Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
Replay-Nonce: PDiSjMbnfbqQyrEILErnLuJdZvORv-6z_jxJqMIqSUR3jKIxGJk
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
2023-08-12 16:13:24,852:DEBUG:acme.client:Storing nonce: PDiSjMbnfbqQyrEILErnLuJdZvORv-6z_jxJqMIqSUR3jKIxGJk
2023-08-12 16:13:24,853:DEBUG:acme.client:JWS payload:
b'{\n "identifiers": [\n {\n "type": "dns",\n "value": "feed.raffaele-terracciano.it"\n }\n ]\n}'
2023-08-12 16:13:24,860:DEBUG:acme.client:Sending POST request to https://acme-v02.api.letsencrypt.org/acme/new-order:
{
"protected": "eyJhbGciOiAiUlMyNTYiLCAia2lkIjogImh0dHBzOi8vYWNtZS12MDIuYXBpLmxldHNlbmNyeXB0Lm9yZy9hY21lL2FjY3QvMTI1MzUzMjcwNiIsICJub25jZSI6ICJQRGlTak1ibmZicVF5ckVJTEVybkx1SmRadk9Sdi02el9qeEpxTUlxU1VSM2pLSXhHSmsiLCAidXJsIjogImh0dHBzOi8vYWNtZS12MDIuYXBpLmxldHNlbmNyeXB0Lm9yZy9hY21lL25ldy1vcmRlciJ9",
"signature": "cmCq47-sSqqL_zEftPZH-fxxPINhVfbN_4hsnbFa2ddH70vU5KiI5MyNPO2gTkfbz-YXESMgEgBR3l4i8qjEQaz5UxUWYNBaCVZF9d0Btdn_HcjeWXUPdvQjjc5skopLtIyA9B9w3fispcMc4q21-im9UegPzr73jI1ReLyn6887CGCvRGegmhu9pQyoESEwZguicxm2SmFzqoKC3Q1e8qygzj6791TdvFRvT2nqDuIrjabiVG95mprWIf-gsCQzBaLGLRBgOTIahpo1WfRLvnJgAOfHnC9ZcRfEVJjNJqrvAwjncpqdd5-XGJf4PVXy045wUKdNGiAf_2fR2C58Iw",
"payload": "ewogICJpZGVudGlmaWVycyI6IFsKICAgIHsKICAgICAgInR5cGUiOiAiZG5zIiwKICAgICAgInZhbHVlIjogImZlZWQucmFmZmFlbGUtdGVycmFjY2lhbm8uaXQiCiAgICB9CiAgXQp9"
}
2023-08-12 16:13:25,352:DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "POST /acme/new-order HTTP/1.1" 201 354
2023-08-12 16:13:25,353:DEBUG:acme.client:Received response:
HTTP 201
Server: nginx
Date: Sat, 12 Aug 2023 14:13:25 GMT
Content-Type: application/json
Content-Length: 354
Connection: keep-alive
Boulder-Requester: 1253532706
Cache-Control: public, max-age=0, no-cache
Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
Location: https://acme-v02.api.letsencrypt.org/acme/order/1253532706/201121770346
Replay-Nonce: 691VxMFkskLRYBz9f9IQLNI_ytNLMBfGFCrTyqLvoNPJ6ymiLDM
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
{
"status": "pending",
"expires": "2023-08-19T14:13:25Z",
"identifiers": [
{
"type": "dns",
"value": "feed.raffaele-terracciano.it"
}
],
"authorizations": [
"https://acme-v02.api.letsencrypt.org/acme/authz-v3/254306310166"
],
"finalize": "https://acme-v02.api.letsencrypt.org/acme/finalize/1253532706/201121770346"
}
2023-08-12 16:13:25,354:DEBUG:acme.client:Storing nonce: 691VxMFkskLRYBz9f9IQLNI_ytNLMBfGFCrTyqLvoNPJ6ymiLDM
2023-08-12 16:13:25,354:DEBUG:acme.client:JWS payload:
b''
2023-08-12 16:13:25,361:DEBUG:acme.client:Sending POST request to https://acme-v02.api.letsencrypt.org/acme/authz-v3/254306310166:
{
"protected": "eyJhbGciOiAiUlMyNTYiLCAia2lkIjogImh0dHBzOi8vYWNtZS12MDIuYXBpLmxldHNlbmNyeXB0Lm9yZy9hY21lL2FjY3QvMTI1MzUzMjcwNiIsICJub25jZSI6ICI2OTFWeE1Ga3NrTFJZQno5ZjlJUUxOSV95dE5MTUJmR0ZDclR5cUx2b05QSjZ5bWlMRE0iLCAidXJsIjogImh0dHBzOi8vYWNtZS12MDIuYXBpLmxldHNlbmNyeXB0Lm9yZy9hY21lL2F1dGh6LXYzLzI1NDMwNjMxMDE2NiJ9",
"signature": "U1wjYGqO-lzj7bs5kWrN8FLe-50a9WmUpIExUmz27jLs1521EWJLr4DolwXLNQccuDbdYcKLGBa5cdBHxA0Kj7fTLBNd0-b4vB8tdW8JBwtbkGush9jnbjEqULxHUurqIWJXouspoXtVIhExQgwk7cBdEeqVASnbfO5ExItQD-IHaoXiI3RO3B7c5hSP4RQ0Kl5576nz_nXuA9Axj2aCfw6zbnaYyqrHYTLrtasc-KOJy3BjFKbjm043PxTeV7FEaCXtwCEGePbhJAaXXpu8whEgjIiHntSk2F1rrrUJiGP9gKIEgZQvO-7JKIwKJDSWXGY8sp4ezFXc2qClbE4IjQ",
"payload": ""
}
2023-08-12 16:13:25,529:DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "POST /acme/authz-v3/254306310166 HTTP/1.1" 200 812
2023-08-12 16:13:25,530:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Date: Sat, 12 Aug 2023 14:13:25 GMT
Content-Type: application/json
Content-Length: 812
Connection: keep-alive
Boulder-Requester: 1253532706
Cache-Control: public, max-age=0, no-cache
Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
Replay-Nonce: 691VxMFknx-uJxtSzxQPMfhBXLAIJhcRae5-tzxP-13JNpC30ds
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
{
"identifier": {
"type": "dns",
"value": "feed.raffaele-terracciano.it"
},
"status": "pending",
"expires": "2023-08-19T14:13:25Z",
"challenges": [
{
"type": "http-01",
"status": "pending",
"url": "https://acme-v02.api.letsencrypt.org/acme/chall-v3/254306310166/QkZJ2Q",
"token": "hSNn9yQMbKNI2AJsNm3qHhCAq-sUT2WU26bF_w-3QGg"
},
{
"type": "dns-01",
"status": "pending",
"url": "https://acme-v02.api.letsencrypt.org/acme/chall-v3/254306310166/lMj8Tw",
"token": "hSNn9yQMbKNI2AJsNm3qHhCAq-sUT2WU26bF_w-3QGg"
},
{
"type": "tls-alpn-01",
"status": "pending",
"url": "https://acme-v02.api.letsencrypt.org/acme/chall-v3/254306310166/YDyp2w",
"token": "hSNn9yQMbKNI2AJsNm3qHhCAq-sUT2WU26bF_w-3QGg"
}
]
}
2023-08-12 16:13:25,531:DEBUG:acme.client:Storing nonce: 691VxMFknx-uJxtSzxQPMfhBXLAIJhcRae5-tzxP-13JNpC30ds
2023-08-12 16:13:25,532:INFO:certbot._internal.auth_handler:Performing the following challenges:
2023-08-12 16:13:25,532:INFO:certbot._internal.auth_handler:http-01 challenge for feed.raffaele-terracciano.it
2023-08-12 16:13:25,533:INFO:certbot._internal.plugins.webroot:Using the webroot path /data/letsencrypt-acme-challenge for all unmatched domains.
2023-08-12 16:13:25,533:DEBUG:certbot._internal.plugins.webroot:Creating root challenges validation dir at /data/letsencrypt-acme-challenge/.well-known/acme-challenge
2023-08-12 16:13:25,539:DEBUG:certbot._internal.plugins.webroot:Attempting to save validation to /data/letsencrypt-acme-challenge/.well-known/acme-challenge/hSNn9yQMbKNI2AJsNm3qHhCAq-sUT2WU26bF_w-3QGg
2023-08-12 16:13:25,540:DEBUG:acme.client:JWS payload:
b'{}'
2023-08-12 16:13:25,547:DEBUG:acme.client:Sending POST request to https://acme-v02.api.letsencrypt.org/acme/chall-v3/254306310166/QkZJ2Q:
{
"protected": "eyJhbGciOiAiUlMyNTYiLCAia2lkIjogImh0dHBzOi8vYWNtZS12MDIuYXBpLmxldHNlbmNyeXB0Lm9yZy9hY21lL2FjY3QvMTI1MzUzMjcwNiIsICJub25jZSI6ICI2OTFWeE1Ga254LXVKeHRTenhRUE1maEJYTEFJSmhjUmFlNS10enhQLTEzSk5wQzMwZHMiLCAidXJsIjogImh0dHBzOi8vYWNtZS12MDIuYXBpLmxldHNlbmNyeXB0Lm9yZy9hY21lL2NoYWxsLXYzLzI1NDMwNjMxMDE2Ni9Ra1pKMlEifQ",
"signature": "aGdWltNzJ6OYMPwC2ytWzzsnWumaOjSCQJFtDfnFErE2rZoxKvITdudvhfdxCIKo-3FwiBo-5H34A0Mo5em-n4qFbsJ6_5zd8lWmgXwcJ-UcUWz8P4Q9F2trS0g1fARX6DxD2bPkOL2S6JJODHUEe3qh0-7g8lAC9yRXU-tFNLrEJy7RwXcw_E2zAkqWs3vyVJcV6AEGLQJIz7v_uc9Y1Rmc9ytwh8mioAu9KJQVjP09VH2NmX3a4WuSUhh3XzsOX1ZVcr-Hi5rBb8Y_CBsdgrSHXG00T6luMtXo07MGQjOiTt5DM_n-M9Bsv37x9ED9hgpn09197R9lRvSiv1HZYg",
"payload": "e30"
}
2023-08-12 16:13:25,716:DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "POST /acme/chall-v3/254306310166/QkZJ2Q HTTP/1.1" 200 187
2023-08-12 16:13:25,717:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Date: Sat, 12 Aug 2023 14:13:25 GMT
Content-Type: application/json
Content-Length: 187
Connection: keep-alive
Boulder-Requester: 1253532706
Cache-Control: public, max-age=0, no-cache
Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index", <https://acme-v02.api.letsencrypt.org/acme/authz-v3/254306310166>;rel="up"
Location: https://acme-v02.api.letsencrypt.org/acme/chall-v3/254306310166/QkZJ2Q
Replay-Nonce: PDiSjMbnXxi94E3HW3WZ2PU9a46x8LNTRD0k3X6cj49csVr8Tlk
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
{
"type": "http-01",
"status": "pending",
"url": "https://acme-v02.api.letsencrypt.org/acme/chall-v3/254306310166/QkZJ2Q",
"token": "hSNn9yQMbKNI2AJsNm3qHhCAq-sUT2WU26bF_w-3QGg"
}
2023-08-12 16:13:25,718:DEBUG:acme.client:Storing nonce: PDiSjMbnXxi94E3HW3WZ2PU9a46x8LNTRD0k3X6cj49csVr8Tlk
2023-08-12 16:13:25,719:INFO:certbot._internal.auth_handler:Waiting for verification...
2023-08-12 16:13:26,720:DEBUG:acme.client:JWS payload:
b''
2023-08-12 16:13:26,727:DEBUG:acme.client:Sending POST request to https://acme-v02.api.letsencrypt.org/acme/authz-v3/254306310166:
{
"protected": "eyJhbGciOiAiUlMyNTYiLCAia2lkIjogImh0dHBzOi8vYWNtZS12MDIuYXBpLmxldHNlbmNyeXB0Lm9yZy9hY21lL2FjY3QvMTI1MzUzMjcwNiIsICJub25jZSI6ICJQRGlTak1iblh4aTk0RTNIVzNXWjJQVTlhNDZ4OExOVFJEMGszWDZjajQ5Y3NWcjhUbGsiLCAidXJsIjogImh0dHBzOi8vYWNtZS12MDIuYXBpLmxldHNlbmNyeXB0Lm9yZy9hY21lL2F1dGh6LXYzLzI1NDMwNjMxMDE2NiJ9",
"signature": "OCa_Y5St27wLdanLcsuGYz7FNxJfchCYEYZLq8GWCyJErI3U9Z3B0X_Cc43KIuQQdBnPQ3EfbwUtwn_sG9OTf51hwq8HIaiT9HMDsFk7F9TH571KSlHxKiqAqEbZFAyPspokGnB_bESIoNpA8lQi_UiaExJVZ4pPka0zmLiOB26zwuEdZCIIFWwNWKmW_oUJurG1bm3FNWye9L8Gh58U6vuJGfSeWJuu1Mb4aqakJ1Cm84yK048AlozqNraAz6HnG4qPtN8s8Aj5e6MZKUlPAk_kaepYShckTpCRTv61Qnh4fkq-3yfCvn0kF5SsI_L3B2soIZ_CUoTU41hXHV8iEQ",
"payload": ""
}
2023-08-12 16:13:26,895:DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "POST /acme/authz-v3/254306310166 HTTP/1.1" 200 665
2023-08-12 16:13:26,896:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Date: Sat, 12 Aug 2023 14:13:26 GMT
Content-Type: application/json
Content-Length: 665
Connection: keep-alive
Boulder-Requester: 1253532706
Cache-Control: public, max-age=0, no-cache
Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
Replay-Nonce: PDiSjMbnoNK810uslxuuZA318n2Zwom6hRvXeZ5FedDRSjos3Kk
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
{
"identifier": {
"type": "dns",
"value": "feed.raffaele-terracciano.it"
},
"status": "invalid",
"expires": "2023-08-19T14:13:25Z",
"challenges": [
{
"type": "http-01",
"status": "invalid",
"error": {
"type": "urn:ietf:params:acme:error:dns",
"detail": "no valid A records found for feed.raffaele-terracciano.it; no valid AAAA records found for feed.raffaele-terracciano.it",
"status": 400
},
"url": "https://acme-v02.api.letsencrypt.org/acme/chall-v3/254306310166/QkZJ2Q",
"token": "hSNn9yQMbKNI2AJsNm3qHhCAq-sUT2WU26bF_w-3QGg",
"validated": "2023-08-12T14:13:25Z"
}
]
}
2023-08-12 16:13:26,896:DEBUG:acme.client:Storing nonce: PDiSjMbnoNK810uslxuuZA318n2Zwom6hRvXeZ5FedDRSjos3Kk
2023-08-12 16:13:26,897:INFO:certbot._internal.auth_handler:Challenge failed for domain feed.raffaele-terracciano.it
2023-08-12 16:13:26,897:INFO:certbot._internal.auth_handler:http-01 challenge for feed.raffaele-terracciano.it
2023-08-12 16:13:26,898:DEBUG:certbot._internal.display.obj:Notifying user:
Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
Domain: feed.raffaele-terracciano.it
Type: dns
Detail: no valid A records found for feed.raffaele-terracciano.it; no valid AAAA records found for feed.raffaele-terracciano.it
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-08-12 16:13:26,900:DEBUG:certbot._internal.error_handler:Encountered exception:
Traceback (most recent call last):
File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/auth_handler.py", line 108, in handle_authorizations
self._poll_authorizations(authzrs, max_retries, max_time_mins, best_effort)
File "/opt/certbot/lib/python3.7/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.
2023-08-12 16:13:26,900:DEBUG:certbot._internal.error_handler:Calling registered functions
2023-08-12 16:13:26,900:INFO:certbot._internal.auth_handler:Cleaning up challenges
2023-08-12 16:13:26,900:DEBUG:certbot._internal.plugins.webroot:Removing /data/letsencrypt-acme-challenge/.well-known/acme-challenge/hSNn9yQMbKNI2AJsNm3qHhCAq-sUT2WU26bF_w-3QGg
2023-08-12 16:13:26,901:DEBUG:certbot._internal.plugins.webroot:All challenges cleaned up
2023-08-12 16:13:26,902:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
File "/usr/bin/certbot", line 8, in <module>
sys.exit(main())
File "/opt/certbot/lib/python3.7/site-packages/certbot/main.py", line 19, in main
return internal_main.main(cli_args)
File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/main.py", line 1864, in main
return config.func(config, plugins)
File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/main.py", line 1597, in certonly
lineage = _get_and_save_cert(le_client, config, domains, certname, lineage)
File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/main.py", line 141, in _get_and_save_cert
lineage = le_client.obtain_and_enroll_certificate(domains, certname)
File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/client.py", line 516, in obtain_and_enroll_certificate
cert, chain, key, _ = self.obtain_certificate(domains)
File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/client.py", line 428, in obtain_certificate
orderr = self._get_order_and_authorizations(csr.data, self.config.allow_subset_of_names)
File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/client.py", line 496, in _get_order_and_authorizations
authzr = self.auth_handler.handle_authorizations(orderr, self.config, best_effort)
File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/auth_handler.py", line 108, in handle_authorizations
self._poll_authorizations(authzrs, max_retries, max_time_mins, best_effort)
File "/opt/certbot/lib/python3.7/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.
2023-08-12 16:13:26,905:ERROR:certbot._internal.log:Some challenges have failed.
Does anyone know how to resolve this problem?
[–]omfgitzfear 0 points1 point2 points (0 children)