osCmax v2.5 User Manual
Results 1 to 5 of 5

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

      
  1. #1
    New Member
    Join Date
    Jun 2004
    Posts
    9
    Rep Power
    0


    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

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    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 Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    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 Documentation

  3. #3
    New Member
    Join Date
    Jun 2004
    Posts
    9
    Rep Power
    0


    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

  4. #4
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    22


    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!

  5. #5
    New Member
    Join Date
    Jun 2004
    Posts
    9
    Rep Power
    0


    Default

    I found the problem, SSL was not running on my server. I had to stop apache and start SSL.

Similar Threads

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •