Start looking tutorial here
Your domain is managed by cloudflare therefore change your question to help the community. Thank you
Remove CloudFlare SSL on https://dash.cloudflare.com/ in favor of SSL issued by CyberPanel.
To issue SSL with CyberPanel use your SSH terminal to access your server as a sudo user or root.
Run the following command so that we see the ssl certificates you have already:
ls /etc/letsencrypt/live/
Post the result of that commans here
Hoping you deleted SSL from CloudFlare as advised here How to get Cloudfare SSL? - #10 by josephgodwinke
You need to remove private keys and certificates at the Virtual Host Level
Go to OLS WebAdmin Console of your server i.e https://SERVER_URL:7080
use admin and password you chose for CyberPanel admin panel
If you cannot log in. Using SSH Terminal run adminPass
add new password
Then you delete all private keys and certificates for respective website and hostname from server:
$ rm -f /etc/letsencrypt/live/mydomain.net/privkey.pem && rm -f /etc/letsencrypt/live/mydomain.net/fullchain.pem
$ rm -f /etc/letsencrypt/live/mail.mydomain.net/privkey.pem && rm -f /etc/letsencrypt/live/mail.mydomain.net/fullchain.pem
$ rm -f /etc/letsencrypt/live/ssl.mydomain.net/privkey.pem && rm -f /etc/letsencrypt/live/ssl.mydomain.net/fullchain.pem
Then resissue hostname SSL the CyberPanel way:
- Go to https://server.mydomain.net:8090/manageSSL/sslForHostName
- Choose
mydomain.net
- Click on Issue SSL
If its not hostname domain
- Go to https://server.mydomain.net:8090/manageSSL/manageSSL
- Choose
mydomain.net
- Click on Issue SSL
How to do this?
Tried loggin in. It showed invalid. Then successfully changed Cyberpanel password. Tried logging it with new password. Yet showing invalid credentials
The password you are changin for is https://SERVER_URL:7080
username: admin
password: the password you used in the adminPass
command
Password problem is solved. I have deleted private keys and cert at virtual host level. I tried deleted private keys and cert for website by using command you provided.
It is showing= -bash: $: command not found (For all the 3 commands). Shall i proceed to next step?
rm -f /etc/letsencrypt/live/mydomain.net/privkey.pem && rm -f /etc/letsencrypt/live/mydomain.net/fullchain.pem
rm -f /etc/letsencrypt/live/mail.mydomain.net/privkey.pem && rm -f /etc/letsencrypt/live/mail.mydomain.net/fullchain.pem
rm -f /etc/letsencrypt/live/ssl.mydomain.net/privkey.pem && rm -f /etc/letsencrypt/live/ssl.mydomain.net/fullchain.pem
Run them line by line replace mydomain.net with your own domain
okay will it show any result? like i ran them line by line by adding my domain in the command. but when i enter. it just shows next line of command starting with #
No the command removes all the certificates and keychains
How do i find out whether mine is hostname domain? Like i have to execute only one of this right?
Are you accesing your CyberPanel admin panel with server url instead of a domain name?
The domain in question is being used to access admin panel?
See in this regard what i know is. I use Hostinger VPS. And they have given me a cyberpanel control url link which is : https://someipaddress:8090
So i dont think domain name is used anywhere in this. Like its an ip address being used to access Cyberpanel