Hostname SSL CWP Panel

vijay1

Well-known member
Trusted Uploader
Apr 25, 2020
254
307
63
33
IN
I'll try this, but not working the latest version CWP Panel.
Thanks
Also try this

I hope it helps.
 

babu2020

New member
Sep 3, 2020
14
1
3
Also try this

I hope it helps.
Sorry to say this is also not working with the latest version CWP Panel
 

vijay1

Well-known member
Trusted Uploader
Apr 25, 2020
254
307
63
33
IN
Navigate to Apache Settings->SSL Cert Manager and look for the AutoSSL tab/section. Then enter the username, followed by the hostname/domain you want to encrypt with SSL. Click the Install SSL button, and you should see a message confirming that it was installed successfully.

To finalize the SSL certificate installation, you need to edit the /usr/local/cwpsrv/conf/cwpsrv.conf configuration file. You can edit the file directly in CWP by navigating to File management -> Advanced File Manager. Find the file, click on it, and hit the edit button. In the second server section, comment the existing SSL directives—ssl_certificate … and ssl_certificate_key …—and add the following:

server {
...
...
ssl_certificate /etc/pki/tls/certs/DOMAIN.TLD.cert;
ssl_certificate_key /etc/pki/tls/private/DOMAIN.TLD.key;
...
...
}

Click the Save file button and close the CWP File Manager. Reboot the server by navigating to CWP Settings -> Reboot Server. Wait for few minutes, and you will be able to connect to CWP via https://DOMAIN.TLD:2087 OR https://DOMAIN.TLD:2031. You can check the Let’s Encrypt certificate information by clicking the green icon from the address bar.
 

babu2020

New member
Sep 3, 2020
14
1
3
Navigate to Apache Settings->SSL Cert Manager and look for the AutoSSL tab/section. Then enter the username, followed by the hostname/domain you want to encrypt with SSL. Click the Install SSL button, and you should see a message confirming that it was installed successfully.

To finalize the SSL certificate installation, you need to edit the /usr/local/cwpsrv/conf/cwpsrv.conf configuration file. You can edit the file directly in CWP by navigating to File management -> Advanced File Manager. Find the file, click on it, and hit the edit button. In the second server section, comment the existing SSL directives—ssl_certificate … and ssl_certificate_key …—and add the following:

server {
...
...
ssl_certificate /etc/pki/tls/certs/DOMAIN.TLD.cert;
ssl_certificate_key /etc/pki/tls/private/DOMAIN.TLD.key;
...
...
}

Click the Save file button and close the CWP File Manager. Reboot the server by navigating to CWP Settings -> Reboot Server. Wait for few minutes, and you will be able to connect to CWP via https://DOMAIN.TLD:2087 OR https://DOMAIN.TLD:2031. You can check the Let’s Encrypt certificate information by clicking the green icon from the address bar.
Thanks
 
  • Like
Reactions: vijay1

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu