Keep Issuing Self Signed SSL

Hello,
I’m trying to issue SSL but it’s self-signing again and again.
I tried all below steps:

1:
wget -O - https://get.acme.sh | sh

successful run but nothing happened.

2: tried debugging with command line

/root/.acme.sh/acme.sh --issue -d <YOUR_DOMAIN> -d www.<YOUR_DOMAIN> --cert-file /etc/letsencrypt/live/<YOUR_DOMAIN>/cert.pem --key-file /etc/letsencrypt/live/<YOUR_DOMAIN>/privkey.pem --fullchain-file /etc/letsencrypt/live/<YOUR_DOMAIN>/fullchain.pem -w /home/<YOUR_DOMAIN>/public_html --force --debug

Cyberpanel main log file:
[06.26.2021_16-32-18] /root/.acme.sh/acme.sh --issue -d digiqal.us -d www.digiqal.us --cert-file /etc/letsencrypt/live/digiqal.us/cert.pem --key-file /etc/letsencrypt/live/digiqal.us/privkey.pem --fullchain-file /etc/letsencrypt/live/digiqal.us/fullchain.pem -w /home/digiqal.us/public_html --force
[06.26.2021_16-32-19] Failed to obtain SSL for: digiqal.us and: www.digiqal.us
[06.26.2021_16-32-19] Trying to obtain SSL for: digiqal.us
[06.26.2021_16-32-21] Failed to obtain SSL, issuing self-signed SSL for: digiqal.us
[06.26.2021_16-32-22] Self signed SSL issued for digiqal.us.
[06.26.2021_16-48-45] Trying to obtain SSL for: digiqal.us and: www.digiqal.us
[06.26.2021_16-48-45] /root/.acme.sh/acme.sh --issue -d digiqal.us -d www.digiqal.us --cert-file /etc/letsencrypt/live/digiqal.us/cert.pem --key-file /etc/letsencrypt/live/digiqal.us/privkey.pem --fullchain-file /etc/letsencrypt/live/digiqal.us/fullchain.pem -w /home/digiqal.us/public_html --force
[06.26.2021_16-48-47] Failed to obtain SSL for: digiqal.us and: www.digiqal.us
[06.26.2021_16-48-47] Trying to obtain SSL for: digiqal.us
[06.26.2021_16-48-48] Failed to obtain SSL, issuing self-signed SSL for: digiqal.us
[06.26.2021_16-48-49] Self signed SSL issued for digiqal.us.
[06.26.2021_16-54-22] Trying to obtain SSL for: digiqal.us and: www.digiqal.us
[06.26.2021_16-54-22] /root/.acme.sh/acme.sh --issue -d digiqal.us -d www.digiqal.us --cert-file /etc/letsencrypt/live/digiqal.us/cert.pem --key-file /etc/letsencrypt/live/digiqal.us/privkey.pem --fullchain-file /etc/letsencrypt/live/digiqal.us/fullchain.pem -w /home/digiqal.us/public_html --force
[06.26.2021_16-54-24] Failed to obtain SSL for: digiqal.us and: www.digiqal.us
[06.26.2021_16-54-24] Trying to obtain SSL for: digiqal.us
[06.26.2021_16-54-25] Failed to obtain SSL, issuing self-signed SSL for: digiqal.us
[06.26.2021_16-54-26] Self signed SSL issued for digiqal.us.

Please help
I’m facing this issue in multiple cyber panel accounts

Hello mates,

If you’re facing the same issue
just try below steps:

Open terminal login to root

Run command
sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)

after successful upgradation.

Login to cyber panel

and reissue SSL

Thanks,
Team DigiQAL Technologies

The panel install certificates for all domains automatically, even if you don’t need it.
This command install certificates for all domains
0 2 * * * /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/renew.py >/dev/null 2>&1

I think it’s a bug.

It’s related?

Type your comment> @sandeepdigiqal said:

Hello mates,

If you’re facing the same issue
just try below steps:

Open terminal login to root

Run command
sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)

after successful upgradation.

Login to cyber panel

and reissue SSL

Thanks,
Team DigiQAL Technologies

thanks my problem fixed , after doing this .

I am getting same issue, unable to get mailserver ssl certificate, hostname and manage ssl is working fine.

I am also having the same problem. In my case only the mail server SSL certificate is working. And the hostname and the main SSL is self signed SSL.

[07.04.2021_10-49-37] /root/.acme.sh/acme.sh --issue -d mail.pixll.dev -d www.mail.pixll.dev --cert-file /etc/letsencrypt/live/mail.pixll.dev/cert.pem --key-file /etc/letsencrypt/live/mail.pixll.dev/privkey.pem --fullchain-file /etc/letsencrypt/live/mail.pixll.dev/fullchain.pem -w /home/pixll.dev/public_html/mail.pixll.dev --server letsencrypt --force
[07.04.2021_10-49-46] Successfully obtained SSL for: mail.pixll.dev and: www.mail.pixll.dev

[07.04.2021_10-49-46] Websites matching query does not exist. [installSSLForDomain:72]
[07.04.2021_10-52-09] We had errors while creating DNS records for: pixll.dev. Error message: [Errno 13] Permission denied: ‘/usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/publicsuffix.org-tlds/de84b5ca2167d4c83e38fb162f2e8738.tldextract.json.lock’
[07.04.2021_10-52-53] Trying to obtain SSL for: pixll.dev and: www.pixll.dev
[07.04.2021_10-52-53] /root/.acme.sh/acme.sh --issue -d pixll.dev -d www.pixll.dev --cert-file /etc/letsencrypt/live/pixll.dev/cert.pem --key-file /etc/letsencrypt/live/pixll.dev/privkey.pem --fullchain-file /etc/letsencrypt/live/pixll.dev/fullchain.pem -w /home/pixll.dev/public_html --server letsencrypt --force
[07.04.2021_10-52-54] Failed to obtain SSL for: pixll.dev and: www.pixll.dev
[07.04.2021_10-52-54] Trying to obtain SSL for: pixll.dev
[07.04.2021_10-52-55] Failed to obtain SSL, issuing self-signed SSL for: pixll.dev
[07.04.2021_10-52-55] Self signed SSL issued for pixll.dev.

same problem here :frowning:

Same or similar problem, but I get an Invalid Certificate Error
after I re-installed a certificate at the host level and busted it…

NET::ERR_CERT_INVALID
Subject: www.example.com

Did this but still for my root domain get error

[02.17.2022_22-20-00] /root/.acme.sh/acme.sh --issue -d ola.lv -d www.ola.lv --cert-file /etc/letsencrypt/live/ola.lv/cert.pem --key-file /etc/letsencrypt/live/ola.lv/privkey.pem --fullchain-file /etc/letsencrypt/live/ola.lv/fullchain.pem -w /home/ola.lv/public_html -k ec-256 --force --server letsencrypt
[02.17.2022_22-20-02] Failed to obtain SSL for: ola.lv and: www.ola.lv
[02.17.2022_22-20-02] Trying to obtain SSL for: ola.lv
[02.17.2022_22-20-03] Failed to obtain SSL, issuing self-signed SSL for: ola.lv
[02.17.2022_22-20-03] {'rou@amail.com': (554, b'5.7.1 <rou@amail.com>: Relay access denied')}
[02.17.2022_22-20-03] Self signed SSL issued for ola.lv.
[02.17.2022_22-22-55] Trying to obtain SSL for: ola.lv and: www.ola.lv
[02.17.2022_22-22-55] /root/.acme.sh/acme.sh --issue -d ola.lv -d www.ola.lv --cert-file /etc/letsencrypt/live/ola.lv/cert.pem --key-file /etc/letsencrypt/live/ola.lv/privkey.pem --fullchain-file /etc/letsencrypt/live/ola.lv/fullchain.pem -w /home/ola.lv/public_html -k ec-256 --force --server letsencrypt
[02.17.2022_22-22-57] Failed to obtain SSL for: ola.lv and: www.ola.lv
[02.17.2022_22-22-57] Trying to obtain SSL for: ola.lv
[02.17.2022_22-22-59] Failed to obtain SSL, issuing self-signed SSL for: ola.lv
[02.17.2022_22-22-59] {'rou@inbox.lv': (554, b'5.7.1 <rou@inbox.lv>: Relay access denied')}
[02.17.2022_22-22-59] Self signed SSL issued for ola.lv.
[02.17.2022_22-40-12] Trying to obtain SSL for: ola.lv and: www.ola.lv
[02.17.2022_22-40-12] /root/.acme.sh/acme.sh --issue -d ola.lv -d www.ola.lv --cert-file /etc/letsencrypt/live/ola.lv/cert.pem --key-file /etc/letsencrypt/live/ola.lv/privkey.pem --fullchain-file /etc/letsencrypt/live/ola.lv/fullchain.pem -w /home/ola.lv/public_html -k ec-256 --force --server letsencrypt
[02.17.2022_22-40-13] Failed to obtain SSL for: ola.lv and: www.ola.lv
[02.17.2022_22-40-13] Trying to obtain SSL for: ola.lv
[02.17.2022_22-40-15] Failed to obtain SSL, issuing self-signed SSL for: ola.lv
[02.17.2022_22-40-15] {'rou@inbox.lv': (554, b'5.7.1 <rou@inbox.lv>: Relay access denied')}
[02.17.2022_22-40-15] Self signed SSL issued for ola.lv.
[02.17.2022_22-40-25] Trying to obtain SSL for: mail.ola.lv and: www.mail.ola.lv
[02.17.2022_22-40-25] /root/.acme.sh/acme.sh --issue -d mail.ola.lv -d www.mail.ola.lv --cert-file /etc/letsencrypt/live/mail.ola.lv/cert.pem --key-file /etc/letsencrypt/live/mail.ola.lv/privkey.pem --fullchain-file /etc/letsencrypt/live/mail.ola.lv/fullchain.pem -w /home/ola.lv/mail.ola.lv -k ec-256 --force --server letsencrypt
[02.17.2022_22-40-38] Successfully obtained SSL for: mail.ola.lv and: www.mail.ola.lv
[02.17.2022_22-40-38] {'rou@inbox.lv': (554, b'5.7.1 <rou@inbox.lv>: Relay access denied')}
[02.17.2022_22-40-38] Websites matching query does not exist. [installSSLForDomain:72]

for mail.ola.lv it worked

but for root domain it all the time gives self signed ssl.

have been at it for 4 days already and no luck.
Any help would be apriciated!

have u tried to issue SSL from cyberpanel ?
and please do not do “issue” more than 5 times per domain for a week, there is a limitation

Yes, I try it from panel, and all the time it gives those logs.

actually what domain we talking here ?

If anyone have this command in cyberpanel main log just update your cyberpanel and issue SSL and all will work fine.