Hello,
I could see that a lot of users are asking "How to install SSL on hostname" and I found a few tutorials some of which are working and others do not. Also, the tutorials which are working are lenghty and not for linux newbie.
So, I will teach you here how to install and configure Letsencrypt Free SSL on hostname in CWP in simple 3 steps.
1 - Check that you should have an A record for the hostname. For example if your server hostname is cp.hostinpk.com, then you should have an A record for "cp" pointing to server IP
2 - Login to CWP Admin Panel>> Server Settings>>Change Hostname and then hit "Change Hostname" button after putting your desired hostname (in my case cp.hostinpk.com). This will only generate a valid LE SSL for your hostname when an A record is present against hostname
3 - Perform following command from shell
service cwpsrv reload
THAT's IT. Enjoy the green padlock while accessing the CWP services (admin panel, user panel, webmail, etc..)
I Jamshed,
Bro I am still having this problem. What I have done so for.
Setup CWP created an account with domain name wddpro.com.
Then in domain account I have added A record with IP as you suggested.
But I am stilling have same issue.
https://vs.wddpro.com:2087/login/index.phpSecondly, I can see another error on NS
rDNS/PTR = ns1.wddpro.com FAILED
CAN YOU HELP ME PLEASE. I AM TOTALLY A NEW BE AND DOING ALL WITH HELP OF FORUMS AND TUTORIALS
Hostname change will also generate a new Hostname autoSSL Certificate.
Certificate Path: /etc/pki/tls/certs/hostname.bundle
Key Path: /etc/pki/tls/private/hostname.key
Pure-FTPd PEM: /etc/pki/tls/private/hostname.pem
Your Hostname is: vs.wddpro.com and it resolves to IP: 173.212.227.11 [Check Black List] [Check CWP SSL] [Check WebServers SSL]
rDNS/PTR = ns1.wddpro.com FAILED [Check SenderBase]
rDNS/PTR check for IP 173.212.227.11 = ns1.wddpro.com