Hi all, thanks for your great work!!
I need help with cert generation.
I’m just updating an old installation starting from scratch on a new server and importing the backups (both on 1.7.7)… and I’m having issues with LetsEncrypt. Paradoxically the old one still works fine (switching the port forward back to the oroginal).
I tried with letsDebug.net with no errors:
All OK!
No issues were found with simulacra.gianlustuff.net. If you are having problems with creating an SSL certificate, please visit the Let’s Encrypt Community forums and post a question there.
Then…
I tried the following without success, you’ll see the shell commands intertwined with the proper logs:
[email protected]:/# tail -f /var/log/hestia/LE-* &
[email protected]:/# v-add-letsencrypt-host
==> /var/log/hestia/LE-admin-simulacra.gianlustuff.net.log <==
=============================
Date Time: 2023-05-22 09:47:12
WEB_SYSTEM: apache2
PROXY_SYSTEM: nginx
user: admin
domain: simulacra.gianlustuff.net
- aliases:
- proto: http-01
- wildcard:
==[Step 1]==
- status: 200
- nonce: 5CA2BwKTYMDpRHv9rEA629J-jb8kobbPV7OFQN4lL9OeR-o
- answer: HTTP/2 200
server: nginx
date: Mon, 22 May 2023 07:47:13 GMT
content-type: application/json
content-length: 752
cache-control: public, max-age=0, no-cache
replay-nonce: 5CA2BwKTYMDpRHv9rEA629J-jb8kobbPV7OFQN4lL9OeR-o
x-frame-options: DENY
strict-transport-security: max-age=604800==[API call]==
exit status: 0==[Step 2]==
- status: 201
- nonce: 4397pvFaDNs10ySu6D9hKuBcgXGZhCdvvnXaOAbcOlofrDA
- authz: https://acme-v02.api.letsencrypt.org/acme/authz-v3/230023732867
- finalize: https://acme-v02.api.letsencrypt.org/acme/finalize/1120227687/183764984087
- payload: {“identifiers”:[{“type”:“dns”,“value”:“simulacra.gianlustuff.net”}]}
- answer: HTTP/2 201
server: nginx
date: Mon, 22 May 2023 07:47:13 GMT
content-type: application/json
content-length: 351
boulder-requester: 1120227687
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/1120227687/183764984087
replay-nonce: 4397pvFaDNs10ySu6D9hKuBcgXGZhCdvvnXaOAbcOlofrDA
x-frame-options: DENY
strict-transport-security: max-age=604800{
“status”: “pending”,
“expires”: “2023-05-29T07:47:13Z”,
“identifiers”: [
{
“type”: “dns”,
“value”: “simulacra.gianlustuff.net”
}
],
“authorizations”: [
“https://acme-v02.api.letsencrypt.org/acme/authz-v3/230023732867”
],
“finalize”: “https://acme-v02.api.letsencrypt.org/acme/finalize/1120227687/183764984087”
}
order: https://acme-v02.api.letsencrypt.org/acme/order/1120227687/183764984087==[API call]==
exit status: 0==[Step 3]==
- status: 200
- nonce: 5CA2C94wmDsgSVNEPexQM0Xldjmj48CQxwjPzNrlZPwZXfg
- url: https://acme-v02.api.letsencrypt.org/acme/chall-v3/230023732867/BbTxvA
- token: 44TAfIOxutebf939hzcoM3ko1M6Zhfmuxe_tFMtlE6I
- answer: HTTP/2 200
server: nginx
date: Mon, 22 May 2023 07:47:14 GMT
content-type: application/json
content-length: 809
boulder-requester: 1120227687
cache-control: public, max-age=0, no-cache
link: https://acme-v02.api.letsencrypt.org/directory;rel=“index”
replay-nonce: 5CA2C94wmDsgSVNEPexQM0Xldjmj48CQxwjPzNrlZPwZXfg
x-frame-options: DENY
strict-transport-security: max-age=604800{
“identifier”: {
“type”: “dns”,
“value”: “simulacra.gianlustuff.net”
},
“status”: “pending”,
“expires”: “2023-05-29T07:47:13Z”,
“challenges”: [
{
“type”: “http-01”,
“status”: “pending”,
“url”: “https://acme-v02.api.letsencrypt.org/acme/chall-v3/230023732867/BbTxvA”,
“token”: “44TAfIOxutebf939hzcoM3ko1M6Zhfmuxe_tFMtlE6I”
},
{
“type”: “dns-01”,
“status”: “pending”,
“url”: “https://acme-v02.api.letsencrypt.org/acme/chall-v3/230023732867/aS2yXQ”,
“token”: “44TAfIOxutebf939hzcoM3ko1M6Zhfmuxe_tFMtlE6I”
},
{
“type”: “tls-alpn-01”,
“status”: “pending”,
“url”: “https://acme-v02.api.letsencrypt.org/acme/chall-v3/230023732867/o_BFHg”,
“token”: “44TAfIOxutebf939hzcoM3ko1M6Zhfmuxe_tFMtlE6I”
}
]
}==[API call]==
exit status: 0==[Step 5]==
- status: 200
- url: https://acme-v02.api.letsencrypt.org/acme/chall-v3/230023732867/BbTxvA
- nonce: 4397fe2yTcYWQIQLFITFBHuIW1M6g7f2uqwZ3Cy_yBYoEVo
- validation: pending
- details:
- answer: HTTP/2 200
server: nginx
date: Mon, 22 May 2023 07:47:19 GMT
content-type: application/json
content-length: 187
boulder-requester: 1120227687
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-v3/230023732867;rel=“up”
location: https://acme-v02.api.letsencrypt.org/acme/chall-v3/230023732867/BbTxvA
replay-nonce: 4397fe2yTcYWQIQLFITFBHuIW1M6g7f2uqwZ3Cy_yBYoEVo
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/230023732867/BbTxvA”,
“token”: “44TAfIOxutebf939hzcoM3ko1M6Zhfmuxe_tFMtlE6I”
}==[API call]==
exit status: 0==[Step 5]==
- status: 400
- url: https://acme-v02.api.letsencrypt.org/acme/chall-v3/230023732867/BbTxvA
- nonce: C400YZTHVBAfZO2CcuDvhkQhfTqhH5Avu7i8AWA94efrutA
- validation:
- details: Unable to update challenge :: authorization must be pending
- answer: HTTP/2 400
server: nginx
date: Mon, 22 May 2023 07:47:24 GMT
content-type: application/problem+json
content-length: 144
boulder-requester: 1120227687
cache-control: public, max-age=0, no-cache
link: https://acme-v02.api.letsencrypt.org/directory;rel=“index”
replay-nonce: C400YZTHVBAfZO2CcuDvhkQhfTqhH5Avu7i8AWA94efrutA{
“type”: “urn:ietf:params:acme:error:malformed”,
“detail”: “Unable to update challenge :: authorization must be pending”,
“status”: 400
}==[Debug information Step 5]==
{
“type”: “http-01”,
“status”: “invalid”,
“error”: {
“type”: “urn:ietf:params:acme:error:unauthorized”,
“detail”: “87.15.57.21: Invalid response from http://simulacra.gianlustuff.net/.well-known/acme-challenge/44TAfIOxutebf939hzcoM3ko1M6Zhfmuxe_tFMtlE6I: 404”,
“status”: 403
},
“url”: “https://acme-v02.api.letsencrypt.org/acme/chall-v3/230023732867/BbTxvA”,
“token”: “44TAfIOxutebf939hzcoM3ko1M6Zhfmuxe_tFMtlE6I”,
“validationRecord”: [
{
“url”: “http://simulacra.gianlustuff.net/.well-known/acme-challenge/44TAfIOxutebf939hzcoM3ko1M6Zhfmuxe_tFMtlE6I”,
“hostname”: “simulacra.gianlustuff.net”,
“port”: “80”,
“addressesResolved”: [
“87.15.57.21”
],
“addressUsed”: “87.15.57.21”
}
],
“validated”: “2023-05-22T07:47:19Z”
}==[Abort Step 5]==
=> Wrong statusError: Let’s Encrypt validation status 400 (simulacra.gianlustuff.net). Details: 403:“xxx.yyy.kkk.zzz: Invalid response from http://simulacra.gianlustuff.net/.well-known/acme-challenge/44TAfIOxutebf939hzcoM3ko1M6Zhfmuxe_tFMtlE6I: 404”
Error: Let’s Encrypt SSL creation failed