Jump to content

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

Ssl Let's Encrypt Rate Topic   - - - - -

 
  • samsam
  • Member
  • Members
  • Join Date: 26-Feb 07
  • 173 posts

Posted 22 August 2016 - 07:36 PM #1

In the first i am sorry for my bad english


Il try too use SSL   ( cannot use admin security )


Il try my site http:// www.mysite.fr  Ok
i TRY https://www.mysite.frok


And i try other solution ..

I have in my host  free certificat ( https --> Lets encrypt)

I ad this in .htaccess.
 

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.mysite.fr/$1 [R,L]

That ok  but  i cannot connect too admin ( when i have this rewrite ) ... if i remove rewrite  ok  ..

Il try my site http:// www.mysite.fr  Ok
i TRY https://www.mysite.frok

admin   blank page...  ( any other port for admin.php ? )

Any idea ? ...

merci ...thks ..


4.xx - www.france-savon.com   je  viens de le reprendre à zero ..  il est donc en cours


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

Posted 23 August 2016 - 03:11 AM #2

Just install your certificate for your site and then go into Settings/Security settings and select "Secure entire site" in the "Enable secure connection for the storefront" element and then check the checkbox for "Enable secure connection in the administration panel".


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.


 
  • samsam
  • Member
  • Members
  • Join Date: 26-Feb 07
  • 173 posts

Posted 23 August 2016 - 04:32 AM #3

thnks for ur answer..

I try this option ...  but :  il have this
 

 

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

 


4.xx - www.france-savon.com   je  viens de le reprendre à zero ..  il est donc en cours


 
  • CS-Cart team
  • CS-Cart support team
  • Moderators
  • Join Date: 04-Apr 11
  • 3808 posts

Posted 23 August 2016 - 05:46 AM #4

thnks for ur answer..

I try this option ...  but :  il have this
 

 

Make sure that the certificate is OK. For example the common name (CN) in your SSL certificate should match the domain name.

 

We can check this more carefully if your contact us via Customer Help Desk and provide temporary access to your server on the Access information page of your Help Desk account.


Sincerely yours, CS-Cart Support Team

 

User guide       |  Developer documentation  |  Core API documentation


 
  • samsam
  • Member
  • Members
  • Join Date: 26-Feb 07
  • 173 posts

Posted 23 August 2016 - 07:36 AM #5

Thank you for the answer.
The easiest and you will understand

if I test my domain: https://www.france-savon.com
It works normally

I'm on a shared server that issued a ssl at all sites

That is where I no longer understand


4.xx - www.france-savon.com   je  viens de le reprendre à zero ..  il est donc en cours


 
  • CS-Cart team
  • CS-Cart support team
  • Moderators
  • Join Date: 04-Apr 11
  • 3808 posts

Posted 23 August 2016 - 12:47 PM #6

Thank you for the answer.
The easiest and you will understand

if I test my domain: https://www.france-savon.com
It works normally

I'm on a shared server that issued a ssl at all sites

That is where I no longer understand

 

Here is what I got on your website:

 

1471956332.png

 

You should contact your server administrator and install valid SSL certificate


Sincerely yours, CS-Cart Support Team

 

User guide       |  Developer documentation  |  Core API documentation


 
  • samsam
  • Member
  • Members
  • Join Date: 26-Feb 07
  • 173 posts

Posted 23 August 2016 - 04:57 PM #7

could you refrech  coz for me its ok ..

If you do so you'd see that it works. It was validated by google shopping.

 

regards

 

sam


4.xx - www.france-savon.com   je  viens de le reprendre à zero ..  il est donc en cours


 
  • CS-Cart team
  • CS-Cart support team
  • Moderators
  • Join Date: 04-Apr 11
  • 3808 posts

Posted 24 August 2016 - 05:30 AM #8

could you refrech  coz for me its ok ..

If you do so you'd see that it works. It was validated by google shopping.

 

regards

 

It seems to be OK now. Are you still experiencing this issue with secure connection check?


Sincerely yours, CS-Cart Support Team

 

User guide       |  Developer documentation  |  Core API documentation


 
  • samsam
  • Member
  • Members
  • Join Date: 26-Feb 07
  • 173 posts

Posted 24 August 2016 - 07:11 AM #9

Yes, I can not activate the ssl in the admin area and I do not understand why..


4.xx - www.france-savon.com   je  viens de le reprendre à zero ..  il est donc en cours


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19379 posts

Posted 24 August 2016 - 07:33 AM #10

app/schemas/settings/actions.functions.php

 

try to comment out the code between the following lines in 2 functions

if (empty($content) || $content != 'OK') {
    ....
}

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • samsam
  • Member
  • Members
  • Join Date: 26-Feb 07
  • 173 posts

Posted 24 August 2016 - 08:28 AM #11

hi
Thanks ecom

i'm not good , I did not understand what I have to do.

Sam


4.xx - www.france-savon.com   je  viens de le reprendre à zero ..  il est donc en cours


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19379 posts

Posted 24 August 2016 - 02:24 PM #12

replace:

            if (empty($content) || $content != 'OK') {
                // Disable https
                Settings::instance()->updateValue('secure_storefront', 'none', 'Security');
                $new_value = 'none';

                $error = Http::getErrorFields();
                $error_warning = __('warning_https_is_disabled', array(
                    '[href]' => Registry::get('config.resources.kb_https_failed_url'
                    )));

                $error_warning .= fn_settings_actions_build_detailed_error_message($error);
                fn_set_notification('W', __('warning'), $error_warning);
            }

with

            /*if (empty($content) || $content != 'OK') {
                // Disable https
                Settings::instance()->updateValue('secure_storefront', 'none', 'Security');
                $new_value = 'none';

                $error = Http::getErrorFields();
                $error_warning = __('warning_https_is_disabled', array(
                    '[href]' => Registry::get('config.resources.kb_https_failed_url'
                    )));

                $error_warning .= fn_settings_actions_build_detailed_error_message($error);
                fn_set_notification('W', __('warning'), $error_warning);
            }*/

and

        if (empty($content) || $content != 'OK') {
            // Disable https
            Settings::instance()->updateValue('secure_admin', 'N', 'Security');
            $new_value = 'N';

            $error = Http::getErrorFields();
            $error_warning = __('warning_https_is_disabled', array(
                    '[href]' => Registry::get('config.resources.kb_https_failed_url'
                    )));

            $error_warning .= fn_settings_actions_build_detailed_error_message($error);
            fn_set_notification('W', __('warning'), $error_warning);
        }

with

        /*if (empty($content) || $content != 'OK') {
            // Disable https
            Settings::instance()->updateValue('secure_admin', 'N', 'Security');
            $new_value = 'N';

            $error = Http::getErrorFields();
            $error_warning = __('warning_https_is_disabled', array(
                    '[href]' => Registry::get('config.resources.kb_https_failed_url'
                    )));

            $error_warning .= fn_settings_actions_build_detailed_error_message($error);
            fn_set_notification('W', __('warning'), $error_warning);
        }*/

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • 12ka4
  • Senior Member
  • Trial users
  • Join Date: 21-Feb 18
  • 165 posts

Posted 23 November 2018 - 07:29 PM #13

 

replace:

            if (empty($content) || $content != 'OK') {
                // Disable https
                Settings::instance()->updateValue('secure_storefront', 'none', 'Security');
                $new_value = 'none';

                $error = Http::getErrorFields();
                $error_warning = __('warning_https_is_disabled', array(
                    '[href]' => Registry::get('config.resources.kb_https_failed_url'
                    )));

                $error_warning .= fn_settings_actions_build_detailed_error_message($error);
                fn_set_notification('W', __('warning'), $error_warning);
            }

with

            /*if (empty($content) || $content != 'OK') {
                // Disable https
                Settings::instance()->updateValue('secure_storefront', 'none', 'Security');
                $new_value = 'none';

                $error = Http::getErrorFields();
                $error_warning = __('warning_https_is_disabled', array(
                    '[href]' => Registry::get('config.resources.kb_https_failed_url'
                    )));

                $error_warning .= fn_settings_actions_build_detailed_error_message($error);
                fn_set_notification('W', __('warning'), $error_warning);
            }*/

and

        if (empty($content) || $content != 'OK') {
            // Disable https
            Settings::instance()->updateValue('secure_admin', 'N', 'Security');
            $new_value = 'N';

            $error = Http::getErrorFields();
            $error_warning = __('warning_https_is_disabled', array(
                    '[href]' => Registry::get('config.resources.kb_https_failed_url'
                    )));

            $error_warning .= fn_settings_actions_build_detailed_error_message($error);
            fn_set_notification('W', __('warning'), $error_warning);
        }

with

        /*if (empty($content) || $content != 'OK') {
            // Disable https
            Settings::instance()->updateValue('secure_admin', 'N', 'Security');
            $new_value = 'N';

            $error = Http::getErrorFields();
            $error_warning = __('warning_https_is_disabled', array(
                    '[href]' => Registry::get('config.resources.kb_https_failed_url'
                    )));

            $error_warning .= fn_settings_actions_build_detailed_error_message($error);
            fn_set_notification('W', __('warning'), $error_warning);
        }*/

 

what does this do eCOM?



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19379 posts

Posted 26 November 2018 - 06:18 AM #14

what does this do eCOM?

 

If HTTPS is not defined in headers, the system still will use https. Sometimes server headers does not contain required information about https due to server configuration 


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.