Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Join Date
    May 2012
    Posts
    23
    Plugin Contributions
    0

    Default SSL connection Errors

    When I go to login to my admin i get Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error As well as I get it when I

    procede to check out. It seems to I currently am running Zen Cart 1.5. My URL to my site is www.sportbikespeed.com I've only copied until a certain point so there shouldn't be any P/Ws

    This is what I see from the configure.php in the admin

    PHP Code:
     // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
      // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
      
    define('HTTP_SERVER''http://www.sportbikespeed.com');
      
    define('HTTPS_SERVER''https://www.sportbikespeed.com');

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

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
      // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
      
    define('DIR_WS_CATALOG''/');
      
    define('DIR_WS_HTTPS_CATALOG''/');

      
    define('DIR_WS_IMAGES''images/');
      
    define('DIR_WS_INCLUDES''includes/');
      
    define('DIR_WS_FUNCTIONS'DIR_WS_INCLUDES 'functions/');
      
    define('DIR_WS_CLASSES'DIR_WS_INCLUDES 'classes/');
      
    define('DIR_WS_MODULES'DIR_WS_INCLUDES 'modules/');
      
    define('DIR_WS_LANGUAGES'DIR_WS_INCLUDES 'languages/');
      
    define('DIR_WS_DOWNLOAD_PUBLIC'DIR_WS_CATALOG 'pub/');
      
    define('DIR_WS_TEMPLATES'DIR_WS_INCLUDES 'templates/');

      
    define('DIR_WS_PHPBB''/'); 
    and from the just includes/configure.php

    PHP Code:
    WE RECOMMEND THAT YOU USE SSL PROTECTION FOR YOUR ENTIRE ADMIN:
     * 
    To do thatmake sure you use "https:" URL for BOTH the HTTP_SERVER and HTTPS_SERVER entries:
     */
      
    define('HTTP_SERVER''http://www.sportbikespeed.com');
      
    define('HTTPS_SERVER''https://www.sportbikespeed.com');
      
    define('HTTP_CATALOG_SERVER''http://www.sportbikespeed.com');
      
    define('HTTPS_CATALOG_SERVER''https://www.sportbikespeed.com');

      
    // secure webserver for admin?  Valid choices are 'true' or 'false' (including quotes).
      
    define('ENABLE_SSL_ADMIN''true');

      
    // secure webserver for storefront?  Valid choices are 'true' or 'false' (including quotes).
      
    define('ENABLE_SSL_CATALOG''true');

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
      // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
      
    $t1 parse_url(HTTP_SERVER);$p1 $t1['path'];$t2 parse_url(HTTPS_SERVER);$p2 $t2['path'];

      
    define('DIR_WS_ADMIN'preg_replace('#^' str_replace('-''\-'$p1) . '#'''dirname($_SERVER['SCRIPT_NAME'])) . 

    '/');
      
    define('DIR_WS_CATALOG''/');
      
    define('DIR_WS_HTTPS_ADMIN'preg_replace('#^' str_replace('-''\-'$p2) . '#'''dirname($_SERVER['SCRIPT_NAME'])) 

    '/');
      
    define('DIR_WS_HTTPS_CATALOG''/');

      
    define('DIR_WS_IMAGES''images/');
      
    define('DIR_WS_ICONS'DIR_WS_IMAGES 'icons/');
      
    define('DIR_WS_CATALOG_IMAGES'HTTP_CATALOG_SERVER DIR_WS_CATALOG 'images/');
      
    define('DIR_WS_CATALOG_TEMPLATE'HTTP_CATALOG_SERVER DIR_WS_CATALOG 'includes/templates/');
      
    define('DIR_WS_INCLUDES''includes/');
      
    define('DIR_WS_BOXES'DIR_WS_INCLUDES 'boxes/');
      
    define('DIR_WS_FUNCTIONS'DIR_WS_INCLUDES 'functions/');
      
    define('DIR_WS_CLASSES'DIR_WS_INCLUDES 'classes/');
      
    define('DIR_WS_MODULES'DIR_WS_INCLUDES 'modules/');
      
    define('DIR_WS_LANGUAGES'DIR_WS_INCLUDES 'languages/');
      
    define('DIR_WS_CATALOG_LANGUAGES'HTTP_CATALOG_SERVER DIR_WS_CATALOG 'includes/languages/'); 
    Not sure if its a server side error that is with my hosting or if i didn't put information in correctly here

  2. #2
    Join Date
    Feb 2010
    Posts
    38
    Plugin Contributions
    0

    Default Re: SSL connection Errors

    hello,

    I hope that you misspelled your explanation for the configure.php in admin and in the includes folder. I think it should be the other way around, your configure.php in the admin belongs to the /includes folder and the other way around.
    Last edited by roekoe; 11 Feb 2013 at 10:55 PM.

  3. #3
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: SSL connection Errors

    You do not appear to have a working SSL Certificate installed for your website. You will want to talk to your host about purchasing a SSL Certificate for your domain / website .... or ... ask if they provide a "shared SSL" certificate and what the path to your website would be to use the "shared SSL" certificate.

    I would highly recommend going with a SSL Certificate specific to your domain. It tends to be simpler to configure and also helps maintain trust for website visitors who may balk when checking out if the domain in the URL changes (as happens in most cases when using a shared SSL setup).

    Google Searches for content on zen-cart.com:
    SSL Certificate Results, Shared SSL Certificate Results
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: SSL connection Errors

    The security protocol is not compatible with the site's certificate.

    I see WWW.sportbikespeed.com

    Was the cert issued for: WWW.sportbikespeed.com

    or just sportbikespeed.com
    20 years a Zencart User

  5. #5
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: SSL connection Errors

    I was initially seeing "ssl_error_rx_record_too_long" as the error message... Now the message has gone away... Guessing you / your hosting provider got everything sorted?

    Incidentally certificate I am now receiving is valid for both "www.sportbikespeed.com" and "sportbikespeed.com" - so no issues there :)
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  6. #6
    Join Date
    May 2012
    Posts
    23
    Plugin Contributions
    0

    Default Re: SSL connection Errors

    Yea i think it used to be shared and I bought a quickSSL premium within the past acouple of days and since then Ive gotten an error at a random point in the day, not very consistent. I bought the cert for www.sportbikespeed.com

    I've talked to my hosting provider today and they didn't have any ideas so they sent it to the "guys who have more access" to see if there was an issue. The hosting provider did the installation themselves so it could be a problem with them.

    I wanted to run these things by you guys since I'm not a PHP guy and if i either missed something orrrrrrr I didn't enter information correct in the configure.php in both the admin and includes folder. It wants to happen for what ever reason around 3 and then at 4 in the afternoon.

  7. #7
    Join Date
    May 2012
    Posts
    23
    Plugin Contributions
    0

    Default Re: SSL connection Errors

    I'm still getting issues and Im not sure if the configure files i have are currently not set up correctly. I disabled SSL so it forces checkout with PayPal instead. Is there an issue with my configure files or did i not enter enough information into them??

  8. #8
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: SSL connection Errors

    If your SSL certificate was specifically issued to "www.sportbikespeed.com" then the configure.php file stuff you posted looks to be correct, provided you posted the files backwards (admin vs non-admin).
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

  10. #10
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: SSL connection Errors

    If you keep seeing intermittent SSL issues, I'd probably talk to the hosting provider... Could be the server, switch, router, or proxy on their end which is overloaded... and thus not always responding as expected. Just making a stab in the dark - but might explain why the issue comes and goes...
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h (28) SSL connection timeout
    By jgold723 in forum General Questions
    Replies: 1
    Last Post: 31 May 2014, 12:26 AM
  2. v139h (28) SSL connection timeout
    By riolas in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 3 Jul 2013, 12:31 PM
  3. Mobile SSL connection problem
    By Derek Bryant in forum General Questions
    Replies: 7
    Last Post: 5 Oct 2010, 01:01 PM
  4. SSL connection PARTIALLY encrypted
    By deepanvee in forum General Questions
    Replies: 7
    Last Post: 31 Jan 2010, 10:26 AM
  5. cURL connection errors - PayPal IPN fails - on new IIS7 server
    By robax in forum Installing on a Windows Server
    Replies: 15
    Last Post: 24 Nov 2008, 09:41 AM

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