Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL Server question


liebgott

Recommended Posts

I recently set up my SSL with OSCommerce and its running well after reading some of the threads. However, there are a lot of times when I go to my wensite and the HTTPS side of this is down. Is that my servers fault, my SSL certificate or my fault from running everything through the secure server?

 

Any help would be better than I'm getting from my hosting company.

 

Thanks,

 

TJ

Link to comment
Share on other sites

when I go to my wensite and the HTTPS side of this is down.

What do you mean by the https:// is down? You get a blank page? The page comes up fine but the padlock in the browser window is broken? Other error messages?

Link to comment
Share on other sites

What do you mean by the https:// is down? You get a blank page? The page comes up fine but the padlock in the browser window is broken? Other error messages?

What I mean is if you goto https//www.mydomain.com nothing will load up and it will say the server is unavailble or busy. If you goto my http://www.mydomain.com the bare bones of the page will load up but none of the pictures or my template. I seem to catch this at least 5 times week.

 

TJ

Link to comment
Share on other sites

Seems ok - although your store does not go back to ordinary http:// from the secure pages. This points to a config issue. Paste your configure.php file here - minus the db info.

 

As to the pages not being available - maybe this is due to your host? Who are you with?

Link to comment
Share on other sites

I just uploaded my osCommerce site, and i'm having a similar problem.

 

URL= http://www.hdimprints.com/shop (im still testing and haven't customized it yet)

 

Here's the error I get when I go to check-out:

 

"can’t open the page “https://www.hdimprints.com/shop/checkout_shipping.php” because it couldn’t establish a secure connection to the server “www.hdimprints.com”."

 

Here is the configure.php stuff:

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

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

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

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

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

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

define('HTTP_COOKIE_PATH', '/shop/');

define('HTTPS_COOKIE_PATH', '/shop/');

 

Please let me know what i'm doing wrong.

 

Thanks, Dale

Link to comment
Share on other sites

I just uploaded my osCommerce site, and i'm having a similar problem.

 

URL= http://www.hdimprints.com/shop (im still testing and haven't customized it yet)

 

Here's the error I get when I go to check-out:

 

"can’t open the page “https://www.hdimprints.com/shop/checkout_shipping.php” because it couldn’t establish a secure connection to the server “www.hdimprints.com”."

 

Here is the configure.php stuff:

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

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

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

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

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

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

define('HTTP_COOKIE_PATH', '/shop/');

define('HTTPS_COOKIE_PATH', '/shop/');

 

Please let me know what i'm doing wrong.

 

Thanks, Dale

I don't think this would be causing the problem, but one thing I'd like to point out is that your https cookie domain should match your https server, so if your certificate is registered to "hdimprints.com" and not "www.hdimprints.com" (since you have the https without the www. prefix), your cookie domain should be "hdimprints.com" rather than "www.hdimprints.com"... As to your original question, unfortunately I have no clue :)

 

Richard.

Richard Lindsey

Link to comment
Share on other sites

Changed it to just hdimprints.com......still same problem. Thanks for trying. :)

 

 

Hi, I have also recently installed an ssl sertificate and saw this issue, while browsing the forum. I am not an expert, but here is what I would try:

 

Change the configure file back to:

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

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

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

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

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

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

define('HTTP_COOKIE_PATH', '/shop/');

define('HTTPS_COOKIE_PATH', '/shop/');

 

etc.

It seems the browser is looking for the www. directory and cannot find it.

My suggestion might work.

Link to comment
Share on other sites

Thanks Jimmy....but that didn't work either.

 

I asked this question on another thread, is there a way to check a SSL certificate to see if it was installed correctly?

 

This was the first time I purchased and installed a certificate. I didn't know exactly how at first to generate a key from my SSL Manager in my CPanel. I'm pretty web and computer savy, so I was able to figure everything out myself. With that said, I am 99% sure I followed all the steps correctly.....with a 1% chance I may have screwed it up....which leads me to my original question..... is there a way to check a SSL certificate to see if it was installed correctly?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...