Ssl Error

Hello friends,



I have a problem. I have installed SSL on my server. When I tried to enable SSL settings under Settings > General, I keep getting this error.



[color=#ff0000]Warning[/color]

[color=#ff0000]The secure connection check has failed. Please check HTTPS settings in the “config.php” file and make sure that SSL certificate is installed on your server.[/color]



What can be the issue? Please help me.



Thanks in advance.

Have you checked with an SSL checker site that your certificate is properly installed?

Are you on a dedicated IP address? That is required for SSL.

Dedicated IP is NOT required by SSL. It might be by a hosting provider (provider dependent) but it's certainly NOT required by SSL.

do you have https.yoursite.com set up in your config php file

Are you running cloudflare? If so you have to be on paid rather than free version.

It says

WarningThe secure connection check has failed. Please ensure that SSL certificate is installed on your server. Check out the Documentation article for more details.

When I tried to active SSL on my admin pane;. Enable secure connection in the administration panel

Try the following solution

https://forum.cs-cart.com/topic/45843-ssl-lets-encrypt/#entry309299

Do I have to setup .htaccess before I enable SSL on my admin panel? This is my .htaccess file and this file is located at my subdomain.

text-x-generic.png .htaccess ( ASCII text )
DirectoryIndex index.html index.php

	# Compress HTML, CSS, JavaScript, Text, XML, fonts
	AddOutputFilterByType DEFLATE application/javascript application/x-javascript text/javascript application/json
	AddOutputFilterByType DEFLATE application/x-font application/x-font-opentype application/x-font-otf application/x-font-truetype application/x-font-ttf font/opentype font/otf font/ttf application/x-woff application/x-font-woff
	AddOutputFilterByType DEFLATE text/css text/html text/plain

	# Remove browser bugs (only needed for really old browsers)
	BrowserMatch ^Mozilla/4 gzip-only-text/html
	BrowserMatch ^Mozilla/4\.0[678] no-gzip
	BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
	Header append Vary User-Agent

Header set Access-Control-Allow-Origin "*"

Cache all images for 2 weeks

ExpiresActive on ExpiresDefault "access plus 2 weeks" Header set Cache-Control "max-age=1209600" RewriteEngine on # Please note that RewriteBase setting is obsolete use it only in case you experience some problems with SEO addon. # Some hostings require RewriteBase to be uncommented # Example: # Your store url is http://www.yourcompany.com/store/cart # So "RewriteBase" should be: # RewriteBase /store/cart # RewriteBase /

This setting is commented out because it might cause an error on some servers where MultiViews override is forbidden.

Enabling MultiViews can lead to unexpected results if an URI (for example, an URI of a SEO name)

matches the structure of folders in the root directory of the store.

If you have such URIs, please uncomment the following lines

Options -MultiViews

RewriteRule ^init.php$ - [F,L,NC]

RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

RewriteCond %{REQUEST_URI} ^api/(.)$ [or]
RewriteCond %{REQUEST_URI} .
/api/(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .api/(.)$ api.php?_d=$1 [L,QSA]

RewriteCond %{REQUEST_URI} .(png|gif|ico|swf|jpe?g|js|css|ttf|svg|eot|woff|yml|xml)$ [NC,or]
RewriteCond %{REQUEST_URI} store_closed.html$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.?)/(.)$ $2 [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L,QSA]

This prevents possible problems when downloading files

php_flag zlib.output_compression Off

rewrite base should match subdomain

https://prnt.sc/o94deu

Im sure i read on your other 4 or 5 posts somehwere that your store was in a subdomain

rewrite base should match subdomain

https://prnt.sc/o94deu

How do I fix it Sir?

If your store is in a directory the make this match it as the example below

https://prnt.sc/o94suj

what is your store directory path Mifzal

uncomment the hash and add the path .

If your store is in a directory the make this match it as the example below

https://prnt.sc/o94suj

what is your store directory path Mifzal
uncomment the hash and add the path .


I have installed it at

http://bus.domain.com
I have installed it at

http://bus.domain.com

Please help me how to fix it?

The question is where are the physical files located on your server and where do you have the document root set to be. They should be the same.

The question is where are the physical files located on your server and where do you have the document root set to be. They should be the same.

Sir, is it possible for you to exactly tell me what needs to be changed? It will be great help. I can paste the contents of my .htaccess file to config.php file or whatever you like me to mention here

Give the information everyone has already provide you to your hosting provider. They will be able to better help you with the changes. Just tell them to help you "set the document root for your subdomain to the proper location".