SSL for Hostname

Started by tiagocaus, June 12, 2019, 01:53:34 AM

Previous topic - Next topic

tiagocaus

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.

evansa

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



tiagocaus

Quote from: 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

I did the procedure. Now just wait?

evansa

i dont understand your question

luddite33

#4
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?

Quote from: 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

Arkana

#5
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 to extend the certificate. If you follow the instructions, then there should be no difficulties.

tahnan.anas

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?

evansa

Quote from: 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?

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