osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

How to setup SSL

This is a discussion on How to setup SSL within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Hi I installed OSCommerc shopping cart. Then I installed SSL on Apache , it is on FreeBSD. I have following ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 06-28-2004, 04:43 AM
New Member
 
Join Date: Jun 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
navid
Default How to setup SSL

Hi
I installed OSCommerc shopping cart.
Then I installed SSL on Apache , it is on FreeBSD.

I have following lines in my virtual host.

SSLEngine on
SSLCertificateFile /home/www/conf/ssl.crt/mysite.crt
SSLCertificateKeyFile /home/www/conf/ssl.key/mysite.key


and those files are also created on those paths.

But when I add items to shop and then click on check out. No page displays. At this stage, it tries to open the checkout.php file using https.

While installing OSCommerc, I made SSL enable.

Any Idea, why this is not working? What I might missing?

Thanks
Nav
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 06-28-2004, 06:05 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,331
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

Your path to ssl is not correct or your https cookie domain is not correct. Both are set in configure.php
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 06-28-2004, 12:37 PM
New Member
 
Join Date: Jun 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
navid
Default

Thanks for your reply.
I have root access to my Linux server and everything else. Actually, some one else did installed the SSL and said it is wroking, but I can't get it work.

Anyway, on Apache I have this
<IfDefine SSL>
Listen 433
</IfDefine>

<IfDefine SSL>
<VirtualHost 51.23.200.125:443>
ServerName www.myshoppingcart.com
ServerAlias myshoppingcart.com
DocumentRoot /home/www/unreal/myshoppingcart.com/htdocs
ErrorLog /home/www/unreal/myshoppingcart.com/logs/error_log
CustomLog /home/www/unreal/myshoppingcart.com/logs/access_log combined

SSLEngine on
SSLCertificateFile /home/www/conf/ssl.crt/myshoppingcart.crt
SSLCertificateKeyFile /home/www/conf/ssl.key/myshoppingcart.key
</VirtualHost>
</IfDefine>

and my configuration file is

define('HTTP_SERVER', 'http://www.myshoppingcart.com');
define('HTTPS_SERVER', 'https://www.myshoppingcart.com');
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'www.myshoppingcart.com');
define('HTTPS_COOKIE_DOMAIN', 'www.myshoppingcart.com');
define('HTTP_COOKIE_PATH', '/catalog/');
define('HTTPS_COOKIE_PATH', '/catalog/');
define('DIR_WS_HTTP_CATALOG', '/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/catalog/');

And all files are in catalog folder.

both http and https are same. Maybe they set a path for HTTPS, but how can I find it. Where should I look?

Nav
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 06-29-2004, 09:55 AM
jpf's Avatar
jpf jpf is online now
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,579
Thanks: 1
Thanked 84 Times in 71 Posts
Rep Power: 10
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default

Could it be cause 51.23.200.125 contains an invaild/unalocated zone.....?
__________________
JPF - osCMax Fourm Moderator
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 07-02-2004, 04:39 AM
New Member
 
Join Date: Jun 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
navid
Default

I found the problem, SSL was not running on my server. I had to stop apache and start SSL.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Compatable with my setup? blioux osCMax v2 Installation issues 5 06-24-2005 10:14 AM
Problem with the PWA Setup... mxtc osCMax v1.7 Discussion 0 11-09-2004 10:57 AM
setup checkout_success navid osCommerce 2.2 Installation Help 0 06-30-2004 02:33 PM
Help in setup SSL laonux osCommerce 2.2 Modification Help 2 07-26-2003 09:45 AM
SSL setup AtroxAngel osCommerce 2.2 Installation Help 0 02-04-2003 06:48 PM


All times are GMT -8. The time now is 06:25 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax