Hello!
I created an old.. subdomain for my site. I faced the problem of the inability to create a Let’s Encrypt certificate for it (error 403), and the inability to transfer the certificate from the main domain.
answer: HTTP/2 403 ^M
server: nginx^M
date: Wed, 16 Oct 2024 07:52:29 GMT^M
content-type: application/problem+json^M
content-length: 152^M
boulder-requester: 1998115277^M
cache-control: public, max-age=0, no-cache^M
link: https://acme-v02.api.letsencrypt.org/directory;rel=“index”^M
replay-nonce: cZa1PNTsljqIv9klPzNTyQ1FGt7BzVNl6imbquTBp835Prsq6fg^M
^M
{
“type”: “urn:ietf:params:acme:error:orderNotReady”,
“detail”: “Order’s status ("invalid") is not acceptable for finalization”,
“status”: 403
}
/var/log/nginx/error.log:
2024/10/16 10:53:44 [emerg] 280763#280763: no host in “:443” of the “listen” directive in /etc/nginx/conf.d/domains/old.ххх.ххх.хх.ssl.conf:8
2024/10/16 10:53:44 [emerg] 280780#280780: no host in “:443” of the “listen” directive in /etc/nginx/conf.d/domains/old.ххх.ххх.хх.ssl.conf:8
2024/10/16 11:02:13 [emerg] 285776#285776: no host in “:80” of the “listen” directive in /etc/nginx/conf.d/domains/old.ххх.хххх.хх.conf:8
2024/10/16 11:02:13 [emerg] 285793#285793: no host in “:80” of the “listen” directive in /etc/nginx/conf.d/domains/old.ххх.ххх.хх.conf:8
The .ssl.conf file is not created:
root@web:/etc/nginx/conf.d/domains# grep listen /etc/nginx/conf.d/domains/old.archive.mk.ua.ssl.conf
grep: /etc/nginx/conf.d/domains/old.archive.mk.ua.ssl.conf: No such file or directory
I don’t know if you are using some rules on Cloudflare’s side or you activated a redirect on Hestia but you must fix it before trying to issue a certificate.