Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to Change NON SSL to SSL


Bobbot20

Recommended Posts

change:

 

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

 

to:

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

 

 

in those same files, make sure your https server definition is correctly defined. for example:

 

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

Link to comment
Share on other sites

oops!! you are right.

 

i meant "true", not "yes". thanks for pointing that out.

 

 

to find out if your SSL is configured correctly, you can try typing this in your browser:

 

https://www.yourwebsite.com/catalog/index.php

 

notice the "s" after "http". ok, after that, if it gives you a warning, then something is not configured properly. if it doesn't give you any warning, make sure you double-click the lock button in your browser (should be the yellow lock in bottom-right of your IE browser) and see if the certificate is OK or not.

 

hope this helps.

 

-kurt

Link to comment
Share on other sites

Yes I did, I also think it's right because my host set it up automatically...

 

 

Any other ideas? Also, if I ever get my SSL set up, do my customers have to link to https:// instead of http:// to access my secure server?

 

P.S. Thanks a lot for all of this help, I appreciate it.

Link to comment
Share on other sites

In catalog/includes/configure.php

 

HTTP_SERVER', 'http://mydomain.com')'

HTTPS_SERVER', 'https://mydomain.com');

ENABLE_SSL', true);

 

in admin/includes/configure.php

 

HTTPS_CATALOG_SERVER', 'https://mysecuredomain.com;);

 

I did not include all the lines, you can figure out by looking at your files where these go.

Link to comment
Share on other sites

yes, that is correct. your customers have to link to https to access your secure server. that is why your defines are crucial in your configure.php files so that the customers are automatically sent to https when going to secure pages.

Link to comment
Share on other sites

SSL is not critically important for customers if you only use paypal since PayPal's gateway uses their own SSL certs. That being said, it's still a good idea to move around in Admin under https, although I haven't figured out how to get the links in admin to STAY pointed at https. :ph34r:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...