Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ssl question


xuoaddict

Recommended Posts

Thank you, I found the location but not sure what to do with it. I found a line of code (define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module) Is it as simple as changing false to true? Also how do add ssl protection to my admin? Thank you in advance

life is short "Eat Desert First"

Link to comment
Share on other sites

Set the "false" to "true" and enter the location of your secure site.

 

  define('HTTP_SERVER', 'http://yourdomain'); // eg, http://localhost - should not be empty for productive servers

  define('HTTPS_SERVER', 'https://your_secure_domain'); // eg, https://localhost - should not be empty for productive servers

  define('ENABLE_SSL', true); // secure webserver for checkout procedure?

  define('HTTP_COOKIE_DOMAIN', 'your domain');

  define('HTTPS_COOKIE_DOMAIN', 'your_secure_domain');

 

If you are not sure what you should use for your secure domain, you will need to check with your hosting provider.

Link to comment
Share on other sites

define('HTTP_SERVER', 'http://mywebsite.com eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://mywebsitesecureaddress.com); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'your domain');

define('HTTPS_COOKIE_DOMAIN', 'your_secure_domain');

 

I must be missing something. I have played with this all night and still not getting my cart to recognise ssl.

I replaced the empty '' with my information yet when i log on to admin it still says i am not secured. and my shopping cart is not showing the security. My host offers shared ssl so i am using the alias address for the ssl address. Have any other clues?

Thanks in advance

life is short "Eat Desert First"

Link to comment
Share on other sites

BTW Thanks for all this help for this poor Newb!

 

I have followed your instructions. I have found that there is a configure.php in both the catalog and admin folders and have made changes in both. I added the domain address as both the normal and the secure. Problem now seems to be that when i log on to the secure shopping cart and clik on a picture it takes me to the insecure site. Any suggestions?

life is short "Eat Desert First"

Link to comment
Share on other sites

Thats how it should work..you dont need the full site to be secure, that would just slow things down.

 

You only need it to be secure when you are dealing with account info and such like...clicking on a picture to go to a product description will throw it out of secure mode and then when you go back to anything account related it should be back to https.

 

Ady

Avmdvds.com

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...