Control Web Panel

WebPanel => SSL => Topic started by: tiagocaus on June 12, 2019, 01:53:34 AM

Title: SSL for Hostname
Post by: tiagocaus on June 12, 2019, 01:53:34 AM
I need to put ssl on my hostname.

I saw a video of the CWP channel itself, but it seems that my version is not the same as the video, not the wik link.
Links: https://www.youtube.com/watch?v=Au0aE5ZqqvU / http://wiki.centos-webpanel.com/hostname-ssl-with-letsencrypt

Could you please tell me a step by step how to install SSL on hostname?

My domain is registered, and I just created the dns zone:
Image: https://prnt.sc/o0pc8i


How should I proceed?

Thank you.
Title: Re: SSL for Hostname
Post by: evansa on June 12, 2019, 09:40:38 PM
make sure you have a hostname which resolves to your Public IP.

then go to CWP.Admin -> Server settings -> click Change hostname( this will set hostname and install SSL to the hostname)

After restart cwpsrv from the terminal by running the command below

sh /scripts/restart_cwpsrv


Title: Re: SSL for Hostname
Post by: tiagocaus on June 13, 2019, 02:39:17 PM
make sure you have a hostname which resolves to your Public IP.

then go to CWP.Admin -> Server settings -> click Change hostname( this will set hostname and install SSL to the hostname)

After restart cwpsrv from the terminal by running the command below

sh /scripts/restart_cwpsrv

I did the procedure. Now just wait?
Title: Re: SSL for Hostname
Post by: evansa on June 13, 2019, 07:03:31 PM
i dont understand your question
Title: Re: SSL for Hostname
Post by: luddite33 on July 01, 2019, 05:44:20 AM
Hi - thanks so much. That worked perfectly.

But I think another issue exists after following the below directions. It now has stated that the certificate is valid for port 2031(after I restart as directed).

Unfortunately for port 2087 it now shows that although the certificate is valid that there is still insecurity. I am happy to use 2031 but should i be concerned about 2087 not being secure?

make sure you have a hostname which resolves to your Public IP.

then go to CWP.Admin -> Server settings -> click Change hostname( this will set hostname and install SSL to the hostname)

After restart cwpsrv from the terminal by running the command below

sh /scripts/restart_cwpsrv
Title: Re: SSL for Hostname
Post by: Arkana on July 18, 2019, 04:15:10 PM
I used the free Let's Encrypt certificate. There is a detailed manual on GitHab how to get it. Do not forget to set a reminder host-tracker.com/Blog/Domain_ssl (https://www.host-tracker.com/Blog/Domain_ssl/) to extend the certificate. If you follow the instructions, then there should be no difficulties.
Title: Re: SSL for Hostname
Post by: tahnan.anas on July 18, 2019, 04:33:01 PM
Hi, I tried by changing hostname but still I am getting ssl cert invalid and all browser requiring to access cwp by going advanced setting and manually accepting SSL.

I tried manual installation ssl by generating certificate from SSLFREE site. But that too did not worked. Any suggestion how may the issue fix?
Title: Re: SSL for Hostname
Post by: evansa on July 20, 2019, 08:34:52 PM
Hi, I tried by changing hostname but still I am getting ssl cert invalid and all browser requiring to access cwp by going advanced setting and manually accepting SSL.

I tried manual installation ssl by generating certificate from SSLFREE site. But that too did not worked. Any suggestion how may the issue fix?

restart cwp after issuing certificate.
click restart cwp services on the dashboard