cyber panel keeps creating self-signed ssl

Hi
cyber panel keeps extending the time on a self-signed ssl

How can i delete the crrent ssl?

  • I have fixed permissions throughfile manager

-through ssh i have deleted

keyFile /etc/letsencrypt/live/website/privkey.pem
certFile /etc/letsencrypt/live/website/fullchain.pem

  • i removed the vhost content below

vhssl {
keyFile /etc/letsencrypt/live/website/privkey.pem
certFile /etc/letsencrypt/live/website/fullchain.pem
certChain 1
sslProtocol 24

ciphers brthrbtdhtyhythyt htht etc

enableECDHE 1
renegProtection 1
sslSessionCache 1
enableSpdy 15
enableStapling 1
ocspRespMaxAge 86400
}

-after this i saved vhost, restarted lightspeed from cyberpanel
https://ip:8090/serverstatus/

-but it still saves
website HAS SELF-SIGNED SSL.
Your SSL will expire in 3649 days.
on the website mangesite page

-but it still says/displays
website HAS SELF-SIGNED SSL.
Your SSL will expire in 3649 days.
on the website mangesite page

thanks my issue has been fixed.

Type your comment> @alexsunny123 said:

thanks my issue has been fixed.

how did you do it?

how do i remove the ertificate and use a lets encrypt one?

Just create a new lets encrypt cert or put an existing one in manually and it will overwrite the self signed cert.

If it keeps creating self signed certs then there will be an issue with dns or other set up.

i created a brand new panel on a new droplet

did not put a certificate on the site

created the domain

changed the ip on the registra

i did not apply a certificate

went to mange the domain and it said it has a self signed certificate itself

how could that happen?

You must have ticked the SSL box when you created the domain. Did you read the troubleshooting guide above?

Test your DNS by putting your domain in here.

Hi

yes you are correct i did tick that box,

I did a bit of digging around and let’s encrypt have but a block on issuing the ssl’s beucase i did quite a bit of testing on different hosting providers over the last few days to check ttfbs

so now i have to wait a bit till i can issue a certificate

I’m learning by breaking and searching through forums lol

Yes they have limits on how many times they issue a cert in a given period of time. Should have saved one in a backup so you could have installed it manually.

Type your comment> @alexsunny123 said:
https://ometv.onl https://chatroulette.top https://omegle.wtf https://bazoocam.cam

thanks my issue has been fixed.

All issue is fixed.

Could you explain how you did it?
please

I have the same problem, it is true that it is solved by adding an ssl manually, but it is an error that appeared out of nowhere. I can not solve

I have other solution that nobody talks about (maybe because the DNS creation is automated in that cases).

I had the same issue as you, always got self signed (www.example.com) certificates.
Viewing the logs, it showed that failed with the impossibility to issue a certificate for www.something.mydomainname.com
On the DNS records I have no “www.” because I have no plans to use that. But CyberPanel just forces to create both versions of domain names, one that begins with “www.” and the other that is what I want.
It creation fails always, because letsencrypt does not admit that one DNS cannot be resolved, including if the other one is resolved correctly.

The solution is to create the DNS record starting with “www.” in your DNS provider for all of your domains and subdomains that you want to issue a SSL certificate, indifferently if you will or not use that domains.

Have a nice day.

1 Like

Had the same issue. I updated cyberpanel from 2.0 to 2.1 and it all started working.