Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ssl problems


navvi

Recommended Posts

Posted

I was having trouble trying to ssl enable my catalog wit a shared ssl from my host (ipowerweb). After almost 2 days I figured it out with the help from reading these posts! ipowerweb were telling me i needed the trailing slash after catalog, but remove the slash and hey presto it now works!

 

The only problem I have now is that the admin section still tells me I am not protected with the open padlock yet once in the catalog all the files go to https?

 

Any ideas on how to remedy this? Also is there any way to take the host out of the address and just have my own site name while in ssl?

Posted

You must buy your own certificate to keep your own URL.... if you search the forums for 'padlock' you should find an answer to your other query

Posted

In your adminconfigure.php, you need to set HTTP_SERVER as:

define('HTTP_SERVER', 'https://www.yourdomain.com');

This way, everytime you select a link in your admin area it will be SSL encrypted. One thing to note though, is that you should bookmark your admin URL in your browser and edit the properties of the bookmark to 'https://' so you are covered by your SSL from the moment you access your admin.

 

As for all your catalog files going through HTTPS, ensure that you have your catalogconfigure.php set as follows:

define('HTTP_SERVER', 'http://www.yourdomain.com');

define('HTTPS_SERVER', 'https://www.yourdomain.com');

 

HTH,

Tony

"The price of success is perseverance. The price of failure comes much cheaper."

Archived

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

×
×
  • Create New...