installing SSL on CWP from cPanel

Started by patoonord, April 18, 2016, 08:48:47 PM

Previous topic - Next topic

patoonord

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...)

Sandeep

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?

patoonord

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

Sandeep

#3
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

patoonord

I see.. and didn't know this, thank-you.

Once this is done, what do i need to do from there?


patoonord

I tried this... but i get errors.

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
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
core.riantmedia.com

Then restarted apache and got this error:
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]

Sandeep

#7
Did you install nginx or varnish as a reverse proxy ?

Did you added Listen 443 to vhost ?