Keep Issuing Self Signed SSL — CyberPanel - WebHosting Control Panel for OpenLiteSpeed
CyberLoader

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

Comments

  • 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 :(
  • 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
Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!