Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

https: cannot access secure section


ecroskey

Recommended Posts

Posted

Hi All,

 

I have set up OSC before with great success, but not this time.

 

I have moved my site from a shared server to my own box, hosted in my own building. I have everything setup the way I had it before, I set the last box up for my friends so I know it was working and how it worked, but now I am having trouble.

 

My new box has only one domain on it. In the httpd.conf file I have the ServerName set, and my virtual host is setup correctly. I have used apachectl startssl to get that going.

 

But the problem is: I cannot access any https:// addresses. If I turn my configure.php files to Use Https false, I can see both sides of the site using http (by both sides I mean create an account, login etc.) But once I set use https to true, everything craps out and I get a 404.

 

I have been starring at this for three days now and I am getting a little :angry: ticked.

 

Anyone have any ideas on what I could be missing?

 

Regards,

Eric

Posted
Hi All,

 

I have set up OSC before with great success, but not this time.

 

I have moved my site from a shared server to my own box, hosted in my own building. I have everything setup the way I had it before, I set the last box up for my friends so I know it was working and how it worked, but now I am having trouble.

 

My new box has only one domain on it. In the httpd.conf file I have the ServerName set, and my virtual host is setup correctly. I have used apachectl startssl to get that going.

 

But the problem is: I cannot access any https:// addresses. If I turn my configure.php files to Use Https false, I can see both sides of the site using http (by both sides I mean create an account, login etc.) But once I set use https to true, everything craps out and I get a 404.

 

I have been starring at this for three days now and I am getting a little :angry: ticked.

 

Anyone have any ideas on what I could be missing?

 

Regards,

Eric

 

 

set your configure.php files ?

Treasurer MFC

Posted

Did you switch to a Plesk server or a Cpanel Server?

 

If on plesk you need to either copy all your files from /httpdocs to /httpsdocs OR perform a symlink on those two directories so that one set of files is on both sides.

 

If on Cpanel, you need to set up SSL on the domain using WHM.

  • 4 weeks later...
Posted
Hi All,

 

I have set up OSC before with great success, but not this time.

 

I have moved my site from a shared server to my own box, hosted in my own building. I have everything setup the way I had it before, I set the last box up for my friends so I know it was working and how it worked, but now I am having trouble.

 

My new box has only one domain on it. In the httpd.conf file I have the ServerName set, and my virtual host is setup correctly. I have used apachectl startssl to get that going.

 

But the problem is: I cannot access any https:// addresses. If I turn my configure.php files to Use Https false, I can see both sides of the site using http (by both sides I mean create an account, login etc.) But once I set use https to true, everything craps out and I get a 404.

 

I have been starring at this for three days now and I am getting a little :angry: ticked.

 

Anyone have any ideas on what I could be missing?

 

Regards,

Eric

 

I got same problem... I can access https from the server pc but cannot from client pc... when i click 'my account' i got pop message "Connection refuse when attempting to contact mydomain.com"... I have enable ssl from my configure.php.. It's seem like my https pages do not exist.. please help me..

Posted
I got same problem... I can access https from the server pc but cannot from client pc... when i  click 'my account' i got pop message "Connection refuse when attempting to contact mydomain.com"...  I have enable ssl from my configure.php.. It's seem like my https pages do not exist.. please help me..

 

 

You installed an SSL certificate and SSL virtual host on your server ?

Treasurer MFC

Posted
You installed an SSL certificate and SSL virtual host on your server ?

 

i don't have real ssl certificate for this moment... but I have configured apache with openssl and modssl... that's mean i'm using temporary certificate...right?... from the server.. i can access page use https..but cannot from client pc...

this is from my configure.php:

 

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

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

define('ENABLE_SSL', 'true');

Posted

...and this my virtual host from httpd.conf

DocumentRoot "/usr/local/apache/htdocs"

ServerName mydomain.com

ServerAdmin [email protected]

ErrorLog /usr/local/apache/logs/error_log

TransferLog /usr/local/apache/logs/access_log

Posted
i don't have real ssl certificate for this moment... but I have configured apache with openssl and modssl... that's mean i'm using temporary certificate...right?... from the server.. i can access page use https..but cannot from client pc... 

this is from my configure.php:

 

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

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

define('ENABLE_SSL', 'true');

 

so you have made your own certificate and key files and referenced them in your SSL (443) virtual host in httpd.conf ?

Treasurer MFC

Posted
so you have made your own certificate and key files and referenced them in your SSL (443) virtual host in httpd.conf ?

 

Yup.. i have reference them in my ssl virtual host in my httpd.conf... Can you u give me any posible reason... why it happened? I don't think it's because my configure.php...

Posted
...and this my virtual host from httpd.conf

DocumentRoot "/usr/local/apache/htdocs"

ServerName mydomain.com

ServerAdmin [email protected]

ErrorLog /usr/local/apache/logs/error_log

TransferLog /usr/local/apache/logs/access_log

 

 

you need a little bit more than this to setup and SSL virtual host on port 443.

Treasurer MFC

Archived

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

×
×
  • Create New...