Hello,
I am trying to create a certificate for the domain autocasionalbacete.com
, which has www.autocasionalbacete.com
as an alias.
When I try to generate it, I get the following error:
Error: Let’s Encrypt finalize bad status 403 (autocasionalbacete.com)
I accessed the LE-xxxxxxxxxxxxxxx-autocasionalbacete.com.log
log inside the /var/log/hestia/
folder, and this is the result of the last request:
=============================
Date Time: 2025-01-10 10:23:02
WEB_SYSTEM: apache2
PROXY_SYSTEM: nginx
user: xxxxxxxxxxxxxxx
domain: autocasionalbacete.com
- aliases: www.autocasionalbacete.com
- proto: http-01
- wildcard:
==[Step 1]==
- status: 200
- nonce: 2NJzUBzXbC8oq48E5VnKMf98289ZbWOJVVRAFycyQL0PVYyyYmo
- answer: HTTP/2 200
server: nginx
date: Fri, 10 Jan 2025 09:23:04 GMT
content-type: application/json
content-length: 746
cache-control: public, max-age=0, no-cache
replay-nonce: 2NJzUBzXbC8oq48E5VnKMf98289ZbWOJVVRAFycyQL0PVYyyYmo
x-frame-options: DENY
strict-transport-security: max-age=604800
==[API call]==
exit status: 0
==[Step 2]==
- status: 201
- nonce: 5VsalEMJthpqDdAg40V6E4BqG9KVzGS3XpG3Gec-wYR0zpJn4fI
- authz: https://acme-v02.api.letsencrypt.org/acme/authz/2160910955/458485664375
https://acme-v02.api.letsencrypt.org/acme/authz/2160910955/458485664385
- finalize: https://acme-v02.api.letsencrypt.org/acme/finalize/2160910955/342848785395
- payload: {"identifiers":[{"type":"dns","value":"autocasionalbacete.com"},{"type":"dns","value":"www.autocasionalbacete.com"}]}
- answer: HTTP/2 201
server: nginx
date: Fri, 10 Jan 2025 09:23:04 GMT
content-type: application/json
content-length: 513
boulder-requester: 2160910955
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/2160910955/342848785395
replay-nonce: 5VsalEMJthpqDdAg40V6E4BqG9KVzGS3XpG3Gec-wYR0zpJn4fI
x-frame-options: DENY
strict-transport-security: max-age=604800
{
"status": "pending",
"expires": "2025-01-17T09:23:04Z",
"identifiers": [
{
"type": "dns",
"value": "autocasionalbacete.com"
},
{
"type": "dns",
"value": "www.autocasionalbacete.com"
}
],
"authorizations": [
"https://acme-v02.api.letsencrypt.org/acme/authz/2160910955/458485664375",
"https://acme-v02.api.letsencrypt.org/acme/authz/2160910955/458485664385"
],
"finalize": "https://acme-v02.api.letsencrypt.org/acme/finalize/2160910955/342848785395"
}
order: https://acme-v02.api.letsencrypt.org/acme/order/2160910955/342848785395
==[API call]==
exit status: 0
==[Step 3]==
- status: 200
- nonce: 2NJzUBzXXjBpq9xoU43NAsohIaWW2pmHK6gc4lLV4cH0BxwGDLo
- url: https://acme-v02.api.letsencrypt.org/acme/chall/2160910955/458485664375/o_r8rA
- token: 9jW9r1iY-oh5H2kCfl26J-GCvdFbRPCRHtIoAY6FsvY
- answer: HTTP/2 200
server: nginx
date: Fri, 10 Jan 2025 09:23:05 GMT
content-type: application/json
content-length: 830
boulder-requester: 2160910955
cache-control: public, max-age=0, no-cache
link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
replay-nonce: 2NJzUBzXXjBpq9xoU43NAsohIaWW2pmHK6gc4lLV4cH0BxwGDLo
x-frame-options: DENY
strict-transport-security: max-age=604800
{
"identifier": {
"type": "dns",
"value": "autocasionalbacete.com"
},
"status": "pending",
"expires": "2025-01-17T09:23:04Z",
"challenges": [
{
"type": "dns-01",
"url": "https://acme-v02.api.letsencrypt.org/acme/chall/2160910955/458485664375/T0g3FQ",
"status": "pending",
"token": "9jW9r1iY-oh5H2kCfl26J-GCvdFbRPCRHtIoAY6FsvY"
},
{
"type": "tls-alpn-01",
"url": "https://acme-v02.api.letsencrypt.org/acme/chall/2160910955/458485664375/Mi2fbQ",
"status": "pending",
"token": "9jW9r1iY-oh5H2kCfl26J-GCvdFbRPCRHtIoAY6FsvY"
},
{
"type": "http-01",
"url": "https://acme-v02.api.letsencrypt.org/acme/chall/2160910955/458485664375/o_r8rA",
"status": "pending",
"token": "9jW9r1iY-oh5H2kCfl26J-GCvdFbRPCRHtIoAY6FsvY"
}
]
}
==[API call]==
exit status: 0
==[Step 5]==
- status: 200
- url: https://acme-v02.api.letsencrypt.org/acme/chall/2160910955/458485664375/o_r8rA
- nonce: yoRvt02QE5SqrpQMoVmD3fXQL1BinSy1oUJXWGz0WDu1TnP20FA
- validation: https://acme-v02.api.letsencrypt.org/acme/chall/2160910955/458485664375/o_r8rA
- details:
- answer: HTTP/2 200
server: nginx
date: Fri, 10 Jan 2025 09:23:11 GMT
content-type: application/json
content-length: 195
boulder-requester: 2160910955
cache-control: public, max-age=0, no-cache
link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
link: <https://acme-v02.api.letsencrypt.org/acme/authz/2160910955/458485664375>;rel="up"
location: https://acme-v02.api.letsencrypt.org/acme/chall/2160910955/458485664375/o_r8rA
replay-nonce: yoRvt02QE5SqrpQMoVmD3fXQL1BinSy1oUJXWGz0WDu1TnP20FA
x-frame-options: DENY
strict-transport-security: max-age=604800
{
"type": "http-01",
"url": "https://acme-v02.api.letsencrypt.org/acme/chall/2160910955/458485664375/o_r8rA",
"status": "pending",
"token": "9jW9r1iY-oh5H2kCfl26J-GCvdFbRPCRHtIoAY6FsvY"
}
==[API call]==
exit status: 0
==[Step 3]==
- status: 200
- nonce: yoRvt02Q3kuYOt3UDkJoLiPH8-2xIcwbL4UFUFhGzUjZsy1_hBg
- url: https://acme-v02.api.letsencrypt.org/acme/chall/2160910955/458485664385/39i-FQ
- token: -h5F_QHSAiNRnHTmk2DQevM3aBRlDNUvythasVB0JSM
- answer: HTTP/2 200
server: nginx
date: Fri, 10 Jan 2025 09:23:16 GMT
content-type: application/json
content-length: 834
boulder-requester: 2160910955
cache-control: public, max-age=0, no-cache
link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
replay-nonce: yoRvt02Q3kuYOt3UDkJoLiPH8-2xIcwbL4UFUFhGzUjZsy1_hBg
x-frame-options: DENY
strict-transport-security: max-age=604800
{
"identifier": {
"type": "dns",
"value": "www.autocasionalbacete.com"
},
"status": "pending",
"expires": "2025-01-17T09:23:04Z",
"challenges": [
{
"type": "tls-alpn-01",
"url": "https://acme-v02.api.letsencrypt.org/acme/chall/2160910955/458485664385/OsUThw",
"status": "pending",
"token": "-h5F_QHSAiNRnHTmk2DQevM3aBRlDNUvythasVB0JSM"
},
{
"type": "http-01",
"url": "https://acme-v02.api.letsencrypt.org/acme/chall/2160910955/458485664385/39i-FQ",
"status": "pending",
"token": "-h5F_QHSAiNRnHTmk2DQevM3aBRlDNUvythasVB0JSM"
},
{
"type": "dns-01",
"url": "https://acme-v02.api.letsencrypt.org/acme/chall/2160910955/458485664385/Lunsjw",
"status": "pending",
"token": "-h5F_QHSAiNRnHTmk2DQevM3aBRlDNUvythasVB0JSM"
}
]
}
==[API call]==
exit status: 0
==[Step 5]==
- status: 200
- url: https://acme-v02.api.letsencrypt.org/acme/chall/2160910955/458485664385/39i-FQ
- nonce: yoRvt02Q4K8R-p0GArb8LT9AIfPFvnfcxBGnBf6W9WUIbMbHVS0
- validation: https://acme-v02.api.letsencrypt.org/acme/chall/2160910955/458485664385/39i-FQ
- details:
- answer: HTTP/2 200
server: nginx
date: Fri, 10 Jan 2025 09:23:22 GMT
content-type: application/json
content-length: 195
boulder-requester: 2160910955
cache-control: public, max-age=0, no-cache
link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
link: <https://acme-v02.api.letsencrypt.org/acme/authz/2160910955/458485664385>;rel="up"
location: https://acme-v02.api.letsencrypt.org/acme/chall/2160910955/458485664385/39i-FQ
replay-nonce: yoRvt02Q4K8R-p0GArb8LT9AIfPFvnfcxBGnBf6W9WUIbMbHVS0
x-frame-options: DENY
strict-transport-security: max-age=604800
{
"type": "http-01",
"url": "https://acme-v02.api.letsencrypt.org/acme/chall/2160910955/458485664385/39i-FQ",
"status": "pending",
"token": "-h5F_QHSAiNRnHTmk2DQevM3aBRlDNUvythasVB0JSM"
}
==[API call]==
exit status: 0
==[Step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AQkOMUEwPzA9BgNVHREENjA0ghZhdXRvY2FzaW9uYWxiYWNldGUuY29tghp3d3cuYXV0b2Nhc2lvbmFsYmFjZXRlLmNvbTANBgkqhkiG9w0BAQsFAAOCAgEAe4GSrnkHN3NUemwEkP47F0Y02YX65K4Kck0s1292-eADz0ZNJTSoPqqqnp-U3tf28gp8bms9xmjtarlOJsXYdnHNoazv2a82mKQYlKBkYNPjf3tnmuejJOc7PZmRCorqoUnzf8jeYxO4m3i1rYQIDSladuU6dxk5RBSfWaZdmo88swACRRDKvCGu9rDhhDc9GEYg8nPHWenn1bJky0buFkH9DjRmpg170n3SHh391FRzlo3BOtGSoO2OEBmEFZdGdwumuq4EbbhTuD4_JKjgq21u3ojJI1WXAjs_6svnPzv-QchJnyce1L_e_M4B_jOqqqTl8q36G5TivqOT37zkDIe7eaoqxA146Fx3UM_sLBSeX0KgLVS6qW57jSu33-M0BrlG-vJ9JM0cwyCGyH1TA4O39Ddkfhne5BL-RTPFe7oM7su7MOXkH69rX1u9n8tzlrsKImRRLf87Uccr7dCRRJxS-4WGBTPTFJLYcyIvT5eU3-7EfylxGK9CCiPzAeTLTY_t4GRHPzjECznL_R6xiCIfrm695nGRhhxrZOydM83aOKFWMnSNzY3r2h7T1YbjVpXX6Dzm-IOMjIo6o3jtVHYLWgwt26cCg-fmasDKxXKyCsiNZE7dctHXguk4d_dJ7XpzgR2Me0WGnPGisvUIPdredNP6mhOy48Xx3SFYKsI"}
- certificate:
- answer: HTTP/2 403
server: nginx
date: Fri, 10 Jan 2025 09:23:28 GMT
content-type: application/problem+json
content-length: 152
boulder-requester: 2160910955
cache-control: public, max-age=0, no-cache
link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
replay-nonce: 2NJzUBzX4fKFTE_e0uTq8ZLlckUk37HTS7T4o72DyQb1Bw2Ja-0
{
"type": "urn:ietf:params:acme:error:orderNotReady",
"detail": "Order's status (\"invalid\") is not acceptable for finalization",
"status": 403
}
On the other hand, I ran the test command, and it returns a 404:
curl -ikL http://autocasionalbacete.com/.well-known/acme-challenge/test
HTTP/1.1 302 Found
Server: nginx
Date: Fri, 10 Jan 2025 08:53:05 GMT
Content-Type: text/html; charset=UTF-8
Content-Length: 0
Connection: keep-alive
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
X-Redirect-By: WordPress
Location: https://autocasionalbacete.com/404-page/
HTTP/2 301
server: nginx
date: Fri, 10 Jan 2025 08:53:05 GMT
content-type: text/html
content-length: 162
location: http://autocasionalbacete.com/404-page/
I have tried deleting the domain and recreating it, even generating the certificate with an empty folder in case it was a content-related issue.
At this point, I’m out of ideas.
Do you have any suggestions?
Thank you very much in advance.