Error trying to apply certificate to subdomain

[08.30.2022_21-26-27] /root/.acme.sh/acme.sh --issue -d app.hospedaikd.com -d www.app.hospedaikd.com --cert-file /etc/letsencrypt/live/app.hospedaikd.com/cert.pem --key-file /etc/letsencrypt/live/app.hospedaikd.com/privkey.pem --fullchain-file /etc/letsencrypt/live/app.hospedaikd.com/fullchain.pem -w /usr/local/lsws/Example/html -k ec-256 --force --server letsencrypt
[08.30.2022_21-26-27] Failed to obtain SSL for: app.hospedaikd.com and: www.app.hospedaikd.com
[08.30.2022_21-26-27] /root/.acme.sh/acme.sh --issue -d app.hospedaikd.com --cert-file /etc/letsencrypt/live/app.hospedaikd.com/cert.pem --key-file /etc/letsencrypt/live/app.hospedaikd.com/privkey.pem --fullchain-file /etc/letsencrypt/live/app.hospedaikd.com/fullchain.pem -w /usr/local/lsws/Example/html -k ec-256 --force --server letsencrypt

[08.30.2022_21-26-27] Failed to obtain SSL, issuing self-signed SSL for: app.hospedai.com
[08.30.2022_21-26-28] Websites matching query does not exist. [installSSLForDomain:72]
[08.30.2022_21-26-28] Self signed SSL issued for app.hospedaikd.com.

I’m trying to generate a certificate for my subdomain but it shows the log error so in the domain the certificate works, now in the subdomain it doesn’t.strong text

can anybody help me?

@shoaibkk What do you think I could do to resolve it?