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 ...



Find us on Facebook
Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Connect with Facebook Register FAQDonate Members List Calendar Mark Forums Read


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: 15,706
Thanks: 139
Thanked 606 Times in 519 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

*** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers ***

Stay Up To Date with everything osCMax:
Free osCMax Newsletters - Security notices, New Releases, osCMax News
osCMax on Twitter - Up to the minute info as it happens. Know it first.

osCMax User Manual - osCMax Templates - Advanced Template Tutorial

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 offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 2,681
Thanks: 12
Thanked 214 Times in 196 Posts
Rep Power: 20
jpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud of
Default

Could it be cause 51.23.200.125 contains an invaild/unalocated zone.....?
__________________
JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
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 09: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 05:48 PM


All times are GMT -8. The time now is 08:06 PM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2009 osCMax
Inactive Reminders By Icora Web Design