Author Topic: CAN'T GET SSL TO WORK.. TRIED EVERYTHING!  (Read 14885 times)

0 Members and 2 Guests are viewing this topic.

Offline
*
CAN'T GET SSL TO WORK.. TRIED EVERYTHING!
« on: August 30, 2017, 08:24:30 PM »
I'm having a lot of trouble getting SSL to work on a server that will only serve a single website domain.

Maybe there's a way to simplify this, since I'm only serving a single web-domain from my IP address??

I have all the certificate files setup, and the certificate was added successfully in certificate manager. However I'm still getting warnings about the website not being secure. Everything in CWS indicates the certificate is setup correctly, and Apache is running.

The certificate is NOT a wildcard. It only covers xyz.com and www.xyz.com. I made my server host name srv1.xyz.com, and generated a self-signed certificate for that. Is that part of the problem? Do I need to buy another certificate for srv1.xyz.com? Or can I not name my host, as this would require another certificate?

Also, this installation is on AWS, so there is an elastic ip address and then a variable ip address. I don't know if the certificate file expects to see 1, and then fails when it sees the other?

I really want to make this as simple as possible. I'm just trying to host 1 website from my dedicated server with https:// and no browser warnings.

Thanks!

Offline
*
Re: CAN'T GET SSL TO WORK.. TRIED EVERYTHING!
« Reply #1 on: September 03, 2017, 07:12:24 AM »
Does the web page display or do you get a browser page saying 'Your Connection Is Not Private / Secure' ?

What is the actual warning message that you get ?

If you see the correct web page view the page source (from the right click popup menu) and do a search for 'http:'. It's possible that the page is loading non ssl elements (eg css, javascript, images). If so, then you must load these from an https:// source.

It's Ok to have outbound links to http://

I hope this helps.

KInd regards

Offline
*
Re: CAN'T GET SSL TO WORK.. TRIED EVERYTHING!
« Reply #2 on: September 04, 2017, 09:27:53 AM »
since this is AWS you probably have private ip instead of public on your server and that would mean you would need to activate NAT in the cwp.

You can check this
http://wiki.centos-webpanel.com/default-page-displayed-for-all-domains
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*
Re: CAN'T GET SSL TO WORK.. TRIED EVERYTHING!
« Reply #3 on: November 22, 2019, 08:03:47 AM »
Check whether any Centos WebPanel test page(index.html) is exist in website's public_html directory. if yes, remove it and reload the website.