Control Web Panel

WebPanel => SSL => Topic started by: patoonord on April 18, 2016, 08:48:47 PM

Title: installing SSL on CWP from cPanel
Post by: patoonord on April 18, 2016, 08:48:47 PM
Hi all!

I still fairly new to the use of CWP but i am very impressed so far with it's features and functions...!

The only issue i have had so far from my previous provider with WHM/cPanel installed is adding SSL to my website since most of it's links are in HTTPS so it isn't working very well without it.

My previous provider gave me a text file containing: RSA Private KEY | Certificate & Bundle... how do i implement this into CWP for my website: nexusupdate.com to work correctly?

Thank-you kindly for all your help.
(yes i have tried going into some of the instructions in the forums and website but couldnt figure it out...)
Title: Re: installing SSL on CWP from cPanel
Post by: Sandeep on April 18, 2016, 09:04:57 PM
What error u r getting when u r trying to installing the certs? U need to reissue the certs for the current ip, did u do that?
Title: Re: installing SSL on CWP from cPanel
Post by: patoonord on April 18, 2016, 09:16:07 PM
Eh, i really have no idea..

Could you direct me step by step on how to perform this using the information i was given by my previous provider?

Thank-you
Title: Re: installing SSL on CWP from cPanel
Post by: Sandeep on April 18, 2016, 09:20:48 PM
If u didn't reissued ur ssl certs for the new ip then the certs will not work. You need to reissue the certs for the new ip, contact the ssl provider
Title: Re: installing SSL on CWP from cPanel
Post by: patoonord on April 18, 2016, 09:33:15 PM
I see.. and didn't know this, thank-you.

Once this is done, what do i need to do from there?
Title: Re: installing SSL on CWP from cPanel
Post by: Sandeep on April 18, 2016, 09:41:46 PM
Just install the certs from cwp gui .. And enable port 443 http://forum.centos-webpanel.com/ssl/how-to-install-multiple-ssl-certificates-on-shared-ip/
Title: Re: installing SSL on CWP from cPanel
Post by: patoonord on April 18, 2016, 11:47:59 PM
I tried this... but i get errors.

Code: [Select]
Stopping httpd: [  OK  ]
Starting httpd: [Mon Apr 18 19:37:33 2016] [error] (EAI 2)Name or service not known: Could not resolve host name 162.243.214.199:443/~securico/nexusupdate -- ignoring!
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[FAILED]

Then i tried adding the ip to host file.... and changed hostname to core.riantmedia.com
/etc/hosts
Code: [Select]
162.243.214.199   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
162.243.214.199 core.riantmedia.com
162.243.214.199 autoreply.riantmedia.com
/etc/hostname
Code: [Select]
core.riantmedia.com
Then restarted apache and got this error:
Code: [Select]
Stopping httpd: [FAILED]
Starting httpd: [Mon Apr 18 19:44:34 2016] [error] (EAI 2)Name or service not known: Could not resolve host name 162.243.214.199:443/~securico/nexusupdate -- ignoring!
httpd: Could not reliably determine the server's fully qualified domain name, using core.riantmedia.com for ServerName
[FAILED]
Title: Re: installing SSL on CWP from cPanel
Post by: Sandeep on April 19, 2016, 04:16:06 AM
Did you install nginx or varnish as a reverse proxy ?

Did you added Listen 443 to vhost ?