Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

adding SSL after installation


Guest

Recommended Posts

Also as an aside questions. When installing the cart I didn't check SSL but I will be adding it after the fact. Is there a way to enable it now that the cart has already been installed and setup etc. (I sure hope so)

 

The post above was under a shipping title, and I have the same question...

If we have already installed and configured, what do we need to do to add SSL afterwards?

 

Thanks!...

Jenn

Link to comment
Share on other sites

Thanks, I followed instructions and most seems to be working OK...but I am getting an error code when you try to follow the guest links on the index page:

 

"The requested URL /login.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. "

 

The path is looking for shelldavekauai.com/login.php...

How and where should I change it to work properly?

Link to comment
Share on other sites

I worked this out myself, and just wanted to add the following instructions for anyone who may search for this info...

 

If you have a full certificate the changes are easy. In includes/configure.php you set enable_ssl to 'true' and where it says https_server_address you input https://www.yourdomain.com and for https_cookie_domain you input www.yourdomain.com - provided your certificate was issued to www.yourdomain.com, if issued to yourdomain.com then leave out the www. ifrom above.

 

In admin/includes/configure.php set enable_ssl to 'true' and to secure all of your 'admin' behind ssl make the http_server_address and the https_server Address and the http_catalog address https://www.yourdomain.com

 

Additionally, be sure to change catalog/includes/configure.php

  define('DIR_WS_HTTPS_CATALOG', '/oscom/catalog/');

to the correct path of your catalog... for me it was located in the oscom folder.

 

:D

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...