Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need help with ssl cert problem


Uptech

Recommended Posts

I have put my ssl certificate on my website, but for some reason when i go into the oscommerce admin page it says that i am not secured by an ssl connection. But the ssl is working when i go to check out anything for the website its self ( it even shows the lock at the bottom during checkout ). Its just in my admin page that i get that there is no ssl connection. Can anybody please help me?

Link to comment
Share on other sites

OK - first, make sure you can access admin by https://link.to.your.admin//

 

This will work if your certificate is installed right, but your links into admin will all be HTTP - not secure.

 

To fix this:

 

catalog/admin/includes/configure.php

 

change the first instance of this: (line 14 in my editor)

 

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

 

to this:

 

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

 

All we've done is redefine the HTTP_SERVER to an https connection. Then just rename the old file and upload the new one. This will force the admin links from the first admin page to be HTTPS.

:not_the_usual1

[you decide]

 

-- Trying to figure it out, just like everyone else --

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...