I can't enable secure checkout...

My shopping cart is hosted with HostMonster and I currently paid for a dedicated server that’s secured and they are telling me it’s active. Of course, when I visit https://mysite.com (with or without “www”), I get an error message saying “Server not found”.



I spoke with tech support at HostMonster.com since they setup my SSL/TLS protocol. They are telling me that the https site is active. In fact, they sent me PHP details. Under “Registered PHP Streams”, it shows, https, ftps, compress.zlib, compress.bzip2, php, file, data, http, ftp, zip. So https is active.



I then logged into the backend of my CS-CART site. Under Settings/General, where it says, “Enable secure connection at checkout (SSL certificate is required to be installed on your server)” … I check the checkbox and hit save. An error message appears.


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.



I did some research on Google but most of what I read, refers to CS-Cart v. 1.3.5, Not 2.0, which is what I am running. My config.php file also seems fine… so I’m confused.



Any help?



PS: … and this may be unrelated (maybe not). A few months back I purchased CS-Cart for a website of mine and after much thought… I decided to s**** the URL I had and start over with a new one. I told CS-Cart that I wanted to move my license. They said it was fine, but I just found out that it was never moved. They are looking into the issue now. Would this have caused an issue with enabling secured checkout through the backend? That’s all.

Do you have the right path in your config.local.php for https URL?


```php * Example:

  • Your url is http://www.yourcompany.com/store/cart
  • $config[‘http_host’] = ‘www.yourcompany.com’;
  • $config[‘http_path’] = ‘/store/cart’;

  • Your secure url is https://secure.yourcompany.com/secure_dir/cart
  • $config[‘https_host’] = ‘secure.yourcompany.com’;
  • $config[‘https_path’] = ‘/secure_dir/cart’;

    *

    */



    // Host and directory where software is installed on no-secure server

    $config[‘http_host’] = ‘www.yourcompany.com’;

    $config[‘http_path’] = ‘/store/cart’;



    // Host and directory where software is installed on secure server

    [COLOR=Red]$config[‘https_host’] = ‘www.yourcompany.com’;

    $config[‘https_path’] = ‘/store/cart’;[/COLOR]

    ```Usually the [COLOR=Red]$config[‘https_path’] = ‘/store/cart’; [COLOR=Black]should be same as the http_host but some hosting provider use separate directory for SSL sites.[/COLOR]

    [/COLOR]

I kept checking config.php and not config.local.php. That did it!!! Thank you so much!!!

Do you have an ssl certificate?