Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL Config


Chrisbrewster

Recommended Posts

Hello,

 

I am very new. Please forgive my ignorance. I purchased an SSL Certificate. My host created a dedicated IP address for me and installed my certificate. All I have to do is configure my files for this.

 

I don't know what to do.

 

If anyone is willing to give me basic instructions, I would be very grateful.

Link to comment
Share on other sites

SSL Certificates, based on what type of server your site is on, are issued either to www.yourdomain.com or just yourdomain.com. You need to know which of these formats your certificate was issued in. Assuming it is www.yourdomain.com do the following:

 

includes/configure.php

---------------------------

set enable_ssl to true

set https_server address to 'https://www.yourdomain.com'

set https_cookie_domain to 'www.yourdomain.com' (same as for http cookie domain)

set https_cookie_path to '/'

set https_catalog_path to '/'

 

These settings are for an install into the root of the web. If you have installed into a folder e.g.http://www.yourdomain.com/catalog then change the https_catalog_path to '/catalog/' and change the https_cookie_path to '/catalog/'

 

admin/includes/configure.php

---------------------------------

set enable_ssl to true

to secure all of admin as https enter 'https://www.yourdomain.com' for:

http_server

http_catalog_server

https_catalog_server

 

Vger

Link to comment
Share on other sites

I have tried to look in on other posts. I edited some of my admin/includes/configure.php file. I am not sure if I am correct. I don't know what else I am supposed to edit. I also noticed from someone else's screen code that the had domain stuff. I don't see anything like that on mine. How do you get images to be secure too? I am sorry, but I am lost.

 

PLEASE HELP!!!

 

 

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
?define('HTTP_SERVER', 'http://www.quickerwickergiftbaskets.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://www.quickerwickergiftbaskets.com'); // eg, http://localhost - should not be empty for productive servers
?define('HTTP_CATALOG_SERVER', 'http://www.quickerwickergiftbaskets.com');
?define('HTTPS_CATALOG_SERVER', 'https://www.quickerwickergiftbaskets.com');
?define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
?define('DIR_FS_DOCUMENT_ROOT', '/home/quickwgb/public_html/'); // where the pages are located on the server
?define('DIR_WS_ADMIN', '/admin/'); // absolute path required
?define('DIR_FS_ADMIN', '/home/quickwgb/public_html/admin/'); // absolute pate required
?define('DIR_WS_CATALOG', '/'); // absolute path required
?define('DIR_FS_CATALOG', '/home/quickwgb/public_html/'); // absolute path required
?define('DIR_WS_IMAGES', 'images/');
?define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
?define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
?define('DIR_WS_INCLUDES', 'includes/');
?define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
?

Link to comment
Share on other sites

Ok, I configured everything. When you go on my website and try to log in or go to my account, it says the page cannot be displayed. It did not do this before.

 

What do I do?

 

Obviously, it is not going to the secured pages.

 

PLEASE HELP!!

Link to comment
Share on other sites

includes/configure.php

-------------------------

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

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

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', 'www.yourdomain.com);

define('HTTPS_COOKIE_DOMAIN', 'www.yourdomain.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

 

Vger

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...