Certificate Name Mismatch Problem

I have certificate name mismatch problem. Details are

I can go to https://www.zoewebs.com (with www) without problem
but when i go to https://zoewebs.com (without www) i got error “Your connection is not secure”.

this is the result when i used curl -v https://zoewebs.com
ALPN, server did not agree to a protocol
* Server certificate:
* subject: OU=Domain Control Validated; CN=*.websitehostserver.net
* start date: Dec 7 16:57:31 2015 GMT
* expire date: Jan 11 21:05:27 2019 GMT
* subjectAltName does not match zoewebs.com
* SSL: no alternative certificate subject name matches target host name ‘zoewebs.com

I have disable and re-eable ssl but it does not work

Any suggestions to fix this? Any answers are welcome.

Is your record for the root domain orange clouded? Based on your curl it appears you are going direct to origin on the root and likely through Cloudflare on the www.

orange cloud? where is it?

I think because of my partial/CNAME setup. Now im trying to change to full DNS setup following this guide
https://www.cloudflare.com/static/media/pdf/Cloudflare-cpanel-installation-activation-guide.pdf but im stuck at changing “featureManagerIsFullZoneProvisioningEnabled”: true at this file /usr/local/cpanel/base/frontend/paper_lantern/Cloudflare/config.js

Why I cant find it? This is my ssh https://drive.google.com/file/d/0B-9sawN43BjdbWVOektLWmNYemM/view


My hosting says shared hosting cannot change Cloudflare/config.js setting. So I cannot move to a full DNS setup. Are there any other solution?


Thanks for the update, that mkes sense. So in the CNAME setup through a partner you can’t CNAME your root to Cloudflare which means that it is being resolved by your DNS and going direct to origin. https://support.cloudflare.com/hc/en-us/articles/200169886-Can-I-use-a-naked-domain-no-www-with-Cloudflare- And they’re correct that the Cpanel settings they have apply globally. So you have a couple if options (not in any kind of priority order):

  1. Using .htaccess set a redirect for http://zoewebs.com and https://zoewebs.com to https://www.zoewebs.com How do I redirect my site using a .htaccess file? | Media Temple Community (there are other alternate methods to achieve similar results with this as well, but this is hte most common)

  2. Sign up for Cloudflare directly (not through partner) using another email address and transfer your nameservers to Cloudflare.

Not sure if anyone else wants to chime in with suggestions.

1 Like