Thread: Shared SSL Woes

Results 1 to 8 of 8
  1. #1
    Join Date
    Sep 2006
    Posts
    3
    Plugin Contributions
    0

    Default Shared SSL Woes

    I am attempting to run v1.3.5 with a shared ssl setup, and not having much luck. When I go to check out, it results with a login timeout and a "Whoops! Sorry, but you are not allowed to perform the action requested." response.

    The hosting is 1and1, php cgi 4.4.4, apache 1.3.37, mysql 4.0.27. The relevant parts of the cart config are:
    Code:
    define('HTTP_SERVER', 'http://www.myshop.net');
    define('HTTPS_SERVER', 'https://ssl.perfora.net/www.myshop.net');
    
    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', 'true');
    
    define('DIR_WS_CATALOG', '/zcart/');
    define('DIR_WS_HTTPS_CATALOG', '/zcart/');
    The session settings are all set to true except for Check IP Address and IP to Host Conversion Status.

    It appears that when I am on the non-ssl site the cookie domain is .www.myshop.net, when I am on the ssl site it is set to .ssl.perfora.net. Is this normal? It appears to me that two separate sessions are being created, one for the ssl, the other for the non-ssl.

    Any help would be greatly appreciated.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Shared SSL Woes

    Try the defaults on the Session Settings:

    Title Value Action
    Session Directory /home/username/public_html/zencart_directory/cache
    Cookie Domain True
    Force Cookie Use False
    Check SSL Session ID False
    Check User Agent False
    Check IP Address False
    Prevent Spider Sessions True
    Recreate Session True
    IP to Host Conversion Status true
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Shared SSL Woes

    Note: you may need to change the Recreate Sessions to False as well ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Dec 2004
    Posts
    15
    Plugin Contributions
    0

    Default Re: Shared SSL Woes

    Linda, I tried to do this with no luck... Here;s my situation.

    I upgraded from a 1.2.7 cart and then moved hosts (actually the other way around technically I HAD to upgrade because I moved to a php5 and mysql5 host)

    I plugged in their Shared SSL "https://rdx.websitewelcome.com/~learta"
    then I get the "Whoops.... session expired error" on checkout
    Turned off SSL on config.php and it works fine.
    Asked my host about the php security and they said they dont have anything funky installed.
    Installed a BEAND NEW FRESH cart and added a dummy product,, still happens.

    I'm thinking it's a Shared SSL issue but dont know for sure.

    PLEASE ANYONE have any ideas? help help! live site not working.

  5. #5
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Shared SSL Woes

    Post your /includes/configure.php without your password information
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  6. #6
    Join Date
    Oct 2009
    Posts
    1
    Plugin Contributions
    1

    Default Re: Shared SSL Woes

    I also have a shared SSL cert and ran into the same problem. After some trial and error, I found that if I encrypted my entire cart, things seemed to work. In your case:

    define('HTTP_SERVER', 'https://ssl.perfora.net/www.myshop.net');
    define('HTTPS_SERVER', 'https://ssl.perfora.net/www.myshop.net');

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


    My application isn't overly intensive, so there wasn't much performance loss and it now allows my customers to check out via PayPal express.

    Cheers.

  7. #7
    Join Date
    Aug 2009
    Posts
    3
    Plugin Contributions
    0

    Default Re: Shared SSL Woes

    I've got the same problem, and I have yet to find a good enough/professional way to handle this. If anyone that works for and developed this ZenCart program, please reply to our requests!

  8. #8
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Shared SSL Woes

    Quote Originally Posted by Merritt
    I've got the same problem
    But you have provided no information???
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. Should I go for dedicated SSL or free shared SSL? What's the deal?
    By calvinrobinson in forum General Questions
    Replies: 3
    Last Post: 28 Oct 2010, 03:00 PM
  2. SSL using shared ssl for the server
    By shobuz99 in forum Basic Configuration
    Replies: 1
    Last Post: 24 Aug 2008, 08:12 PM
  3. SSL / Flash / I.E. woes....
    By MDS_webmaster in forum General Questions
    Replies: 0
    Last Post: 17 May 2007, 07:21 PM
  4. SSL Woes
    By shareinnc in forum General Questions
    Replies: 3
    Last Post: 10 May 2006, 02:08 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR