Ssl Certificate

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.

curerror.jpg

Check you ssl certificate here https://www.sslshopper.com/ssl-checker.html

Thanks martfox for the link.

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

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.

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.

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'] = '';

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.

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’] = ‘’;

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.

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

[attachment=13039:Clipboard01.jpg]

No problem :)

Clipboard01.jpg

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?

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.

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

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.

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.

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.

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

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

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

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!