Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Ssl Certificate Rate Topic   - - - - -

 
  • swifty
  • Advanced Member
  • Trial users
  • Join Date: 30-Mar 13
  • 138 posts

Posted 24 February 2018 - 09:39 PM #1

Having problems applying the SSL certificate to me store. Ive navigated to Settings - Security Settings - and selected "Enable secure connection for the store front" then "Secure full site" also tried "Secure profile checkout and order pages".

After save is selected an error message The secure connection check has failed. Please ensure that SSL certificate is installed on your server. Curl Error 35. Ive attached a screen shot curerror.jpg of the error message.

 

The host is telling me the SSL certificate has been been installed on my hosting package, any ideas what can be wrong.

Attached Thumbnails

  • curerror.jpg


 
  • martfox
  • Member
  • Authorized Reseller
  • Join Date: 15-Jan 10
  • 556 posts

Posted 24 February 2018 - 11:21 PM #2

Check you ssl certificate here https://www.sslshopp...sl-checker.html


CS-Cart with 1 Year FREE Web Hosting | CS-Cart optimized SSD Cloud VPS Servers from €10.00/month
.
VPS SSD Cloud from €10.00 *** Dedicated Servers *** CS-Cart Authorized Reseller and Web Hosting Provider


 
  • swifty
  • Advanced Member
  • Trial users
  • Join Date: 30-Mar 13
  • 138 posts

Posted 24 February 2018 - 11:56 PM #3

Thanks martfox for the link.

 

The certificate checks out all ok all green ticks, does this mean the problem is with CsCart?



 
  • martfox
  • Member
  • Authorized Reseller
  • Join Date: 15-Jan 10
  • 556 posts

Posted 25 February 2018 - 12:32 AM #4

Thanks martfox for the link.

 

The certificate checks out all ok all green ticks, does this mean the problem is with CsCart?

 

 

Not always. It depends on if the ssl certificate has been issued for the domain with 'www', without or for both and then the directory installation of your CS-Cart. If the certificate has been issued just for the domain without 'www' and your CS-Cart is configured to force to 'www', then it won't work.


CS-Cart with 1 Year FREE Web Hosting | CS-Cart optimized SSD Cloud VPS Servers from €10.00/month
.
VPS SSD Cloud from €10.00 *** Dedicated Servers *** CS-Cart Authorized Reseller and Web Hosting Provider


 
  • swifty
  • Advanced Member
  • Trial users
  • Join Date: 30-Mar 13
  • 138 posts

Posted 25 February 2018 - 08:20 AM #5

 

Not always. It depends on if the ssl certificate has been issued for the domain with 'www', without or for both and then the directory installation of your CS-Cart. If the certificate has been issued just for the domain without 'www' and your CS-Cart is configured to force to 'www', then it won't work.

 

The SSL checker states the host name with www.

 

How do i see how my Cs Cart is configured for either www. or no www.



 
  • swifty
  • Advanced Member
  • Trial users
  • Join Date: 30-Mar 13
  • 138 posts

Posted 25 February 2018 - 10:08 AM #6

Checked the config.local.php file and found these lines of code, could this be the problem, ive replaced my actual url with mydomain, there's no mention of www.mydomain.co.uk

 

// Host and directory where software is installed on no-secure server
$config['http_host'] = 'mydomain.co.uk';
$config['http_path'] = '';

// Host and directory where software is installed on secure server
$config['https_host'] = 'mydomain.co.uk';
$config['https_path'] = '';



 
  • swifty
  • Advanced Member
  • Trial users
  • Join Date: 30-Mar 13
  • 138 posts

Posted 25 February 2018 - 11:38 AM #7

Think i may of found what the problem is but not sure how to fix it.

 

When the url is typed into the browser search bar without www. the site opens in https.

How do it configure the cart to open in https with or without www.



 
  • martfox
  • Member
  • Authorized Reseller
  • Join Date: 15-Jan 10
  • 556 posts

Posted 25 February 2018 - 03:09 PM #8

You have just to edit the same file and put 'www.' before the domain:


// Host and directory where software is installed on no-secure server
$config['http_host'] = 'www.mydomain.co.uk';
$config['http_path'] = '';
// Host and directory where software is installed on secure server
$config['https_host'] = 'www.mydomain.co.uk';
$config['https_path'] = '';

CS-Cart with 1 Year FREE Web Hosting | CS-Cart optimized SSD Cloud VPS Servers from €10.00/month
.
VPS SSD Cloud from €10.00 *** Dedicated Servers *** CS-Cart Authorized Reseller and Web Hosting Provider


 
  • swifty
  • Advanced Member
  • Trial users
  • Join Date: 30-Mar 13
  • 138 posts

Posted 25 February 2018 - 03:19 PM #9

 

You have just to edit the same file and put 'www.' before the domain:

 

Thanks martfox, by editing the file to www.mydomain will mydomain without www. be covered by the SSL certificate.



 
  • martfox
  • Member
  • Authorized Reseller
  • Join Date: 15-Jan 10
  • 556 posts

Posted 25 February 2018 - 03:40 PM #10

Thanks martfox, by editing the file to www.mydomain will mydomain without www. be covered by the SSL certificate.

 

Clipboard01.jpg

 

No problem :)


CS-Cart with 1 Year FREE Web Hosting | CS-Cart optimized SSD Cloud VPS Servers from €10.00/month
.
VPS SSD Cloud from €10.00 *** Dedicated Servers *** CS-Cart Authorized Reseller and Web Hosting Provider


 
  • swifty
  • Advanced Member
  • Trial users
  • Join Date: 30-Mar 13
  • 138 posts

Posted 25 February 2018 - 04:33 PM #11

My host has come back saying the SSL has been aplied to the url and all is good from their side.

 

I am running two urls from the same admin and have applied the SSL to one url the other url is the alias with no SSL.

 

When i go to Admin - Settings - Security settings and select the store with the SSL certificated and select "Enable secure connection for store front" the following error message is displayed

The secure connection check has failed. Please ensure that SSL certificate is installed on your server. Curl Error 35. Ive attached a screen shot curerror.jpg of the error message.

 

But if "All Stores" is displayed in admin i can select "Enable secure connection for store front" and it works however the alias store with no SSL wont display in the browser, this been due to the fact it does not have a SSL certificate.

 

Is it possible to Enable secure connection for store front for one store only?



 
  • martfox
  • Member
  • Authorized Reseller
  • Join Date: 15-Jan 10
  • 556 posts

Posted 25 February 2018 - 05:26 PM #12

My host has come back saying the SSL has been aplied to the url and all is good from their side.

 

I am running two urls from the same admin and have applied the SSL to one url the other url is the alias with no SSL.

 

When i go to Admin - Settings - Security settings and select the store with the SSL certificated and select "Enable secure connection for store front" the following error message is displayed

The secure connection check has failed. Please ensure that SSL certificate is installed on your server. Curl Error 35. Ive attached a screen shot curerror.jpg of the error message.

 

But if "All Stores" is displayed in admin i can select "Enable secure connection for store front" and it works however the alias store with no SSL wont display in the browser, this been due to the fact it does not have a SSL certificate.

 

Is it possible to Enable secure connection for store front for one store only?

 

Here I can't help with. Contact CS-Cart support with this question.


CS-Cart with 1 Year FREE Web Hosting | CS-Cart optimized SSD Cloud VPS Servers from €10.00/month
.
VPS SSD Cloud from €10.00 *** Dedicated Servers *** CS-Cart Authorized Reseller and Web Hosting Provider


 
  • Takestock
  • Senior Member
  • Members
  • Join Date: 08-Nov 13
  • 471 posts

Posted 25 February 2018 - 09:15 PM #13

My host has come back saying the SSL has been aplied to the url and all is good from their side.

 

I am running two urls from the same admin and have applied the SSL to one url the other url is the alias with no SSL.

 

When i go to Admin - Settings - Security settings and select the store with the SSL certificated and select "Enable secure connection for store front" the following error message is displayed

The secure connection check has failed. Please ensure that SSL certificate is installed on your server. Curl Error 35. Ive attached a screen shot curerror.jpg of the error message.

 

But if "All Stores" is displayed in admin i can select "Enable secure connection for store front" and it works however the alias store with no SSL wont display in the browser, this been due to the fact it does not have a SSL certificate.

 

Is it possible to Enable secure connection for store front for one store only?

When you say you are running two URLs from the same admin, is that two seperate domains one being setup in cpanel as an alias of the other are you using something like www.mystore.com and www.mystore.com/shop2

 

There is not issue with having one domain with ssl and another without.

 

Alan



 
  • martfox
  • Member
  • Authorized Reseller
  • Join Date: 15-Jan 10
  • 556 posts

Posted 25 February 2018 - 10:00 PM #14

When you say you are running two URLs from the same admin, is that two seperate domains one being setup in cpanel as an alias of the other are you using something like www.mystore.com and www.mystore.com/shop2

 

There is not issue with having one domain with ssl and another without.

 

Alan

 

Ah so... in such case, if the second storefront will be installed in a subdirectoty, or the subdirectory will be used as a subdomain like 'www.shop2.mystore.com' then the ssl certificate should work in both cases and your both storefronts will be accessible through 'https' protocol.


CS-Cart with 1 Year FREE Web Hosting | CS-Cart optimized SSD Cloud VPS Servers from €10.00/month
.
VPS SSD Cloud from €10.00 *** Dedicated Servers *** CS-Cart Authorized Reseller and Web Hosting Provider


 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11023 posts

Posted 25 February 2018 - 11:27 PM #15

Ah so... in such case, if the second storefront will be installed in a subdirectoty, or the subdirectory will be used as a subdomain like 'www.shop2.mystore.com' then the ssl certificate should work in both cases and your both storefronts will be accessible through 'https' protocol.

The subdomain 'shop2' will only be accessible if a wildcard certificate is used.  And if you use 'www.shop2.mydomain.com' then it will not even be covered by a wildcard certificate.

 

If the 2nd store is within the document root of the primary store (I.e. mystore.com/shop2 or www.mystore.com/shop2) then it would be covered by the existing non-wildcard certificate for mystore.com.

 

I believe their trouble is that they acquired their certificate for www.mystore.com when they should have done the CSR for mystore.com.  Most certificate providers will automatically add the 'www' subdomain if it's not present but they won't automatically remove it.  So I would suggest the merchant generate a new CSR using mystore.come and regenerate the certificate.  It should be at no cost since it's an error in the CSR specification for the certificate.  And f they want shop2.mystore.com then they need to get a wildcard certificate for mystore.com.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • martfox
  • Member
  • Authorized Reseller
  • Join Date: 15-Jan 10
  • 556 posts

Posted 26 February 2018 - 12:23 AM #16

The subdomain 'shop2' will only be accessible if a wildcard certificate is used.

 

Oh sorry - yes, that's right. If you are hosted on a cPanel, then the Lest's Encrypt ssl is free for cPanel users and supports subdomains as well.


CS-Cart with 1 Year FREE Web Hosting | CS-Cart optimized SSD Cloud VPS Servers from €10.00/month
.
VPS SSD Cloud from €10.00 *** Dedicated Servers *** CS-Cart Authorized Reseller and Web Hosting Provider


 
  • swifty
  • Advanced Member
  • Trial users
  • Join Date: 30-Mar 13
  • 138 posts

Posted 26 February 2018 - 10:52 PM #17

When you say you are running two URLs from the same admin, is that two seperate domains one being setup in cpanel as an alias of the other are you using something like www.mystore.com and www.mystore.com/shop2



I'm running two separate domains one set up as an alias with all administration and orders etc being run from the same CsCart admin back end.

My host has informed me that the Purchased SSL is for one domain only if I want the alias domain to have SSL then it has to be purchased seperatly and i cant apply let's encrypt to the alias either which surprised me but maybe the host is after more income.

I have raised a ticket with CsCart to see if they can tell me why i am unable to set the SSL up in the admin by selecting "Enable secure connection for store front".

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11023 posts

Posted 26 February 2018 - 11:09 PM #18

Then just use a 'subdomain' rather than an alias.  Then let's encrypt will let you acquire an SSL for the subdomain (subdomain.mydomain.com).


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • martfox
  • Member
  • Authorized Reseller
  • Join Date: 15-Jan 10
  • 556 posts

Posted 26 February 2018 - 11:58 PM #19

I'm running two separate domains one set up as an alias with all administration and orders etc being run from the same CsCart admin back end.
 

 

Now it's a little bit confusing. What is your first store url and the second store url? Just an example...


CS-Cart with 1 Year FREE Web Hosting | CS-Cart optimized SSD Cloud VPS Servers from €10.00/month
.
VPS SSD Cloud from €10.00 *** Dedicated Servers *** CS-Cart Authorized Reseller and Web Hosting Provider


 
  • xllx
  • Newbie
  • Members
  • Join Date: 15-Oct 15
  • 2 posts

Posted 27 February 2018 - 10:11 PM #20

Hey Guys, I have issue with SSL with my website. I used ssl Checker with my website www.mywebsite.com. The results came back with all green marks. Checked the config.local.php file and 

 

// Host and directory where software is installed on no-secure server
$config['http_host'] = 'www.mywebsite.com';
$config['http_path'] = '';
 
// Host and directory where software is installed on secure server
$config['https_host'] = 'www.mywebsite.com';
$config['https_path'] = '';

$config['https_path'] = '';

 

My issue is:

After I selected "Secure profile checkout and order pages" & picked "Keep HTTPS connection once a secure page is visited" in admin panel, EVEN I tried to apply HTTPS: https://www.mywebsite.com/, the site is always RE-DIRECT to no-secured HTTP: http://www.mywebsite.com/

 

It seems like there's a re-direct in configuration. I have been trying to fix this by myself awhile. I just cannot figure it out. Please help!