Thread: SSL problems

Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2006
    Location
    Grimsby UK
    Posts
    98
    Plugin Contributions
    0

    Default SSL problems

    Hi

    I have set up my site just fine but had to add the SSL afterwards and it doesn't seem to work properly. When I try the Account link I get the ZC configuration error screen.

    The domain is gravisuk.com/index.php

    I am running ZC1.3.8a on a dedicated server with a shared certificate, according to support guys the shared certificate path is:
    https://www.secure-epay.co.uk/gravis

    I asked the tech guys if they could sort it because they have OsC hosting facilities and I figured it may be a similar type of configuration. But this is the reply:

    There seems to be some issue with the definitions set in the configure.php being used in secure and non-secure mode.
    If you look at main configure.php on your store, you will see that I have made a couple of changes. I have updated the https server line to:
    define('HTTPS_SERVER', 'https://www.secure-epay.co.uk/gravis');

    I have altered the DIR_FS_CATALOG and succeeded in getting the site working securely, but this then stops in working securely. Looking in the configure.php you should see two lines:
    define('DIR_FS_CATALOG', '/var/www/html/');
    // define('DIR_FS_CATALOG', '/home/virtual/gravisuk.com/var/www/html/');

    The first line is directory when working locally (from the root of the site), this works for non secure urls. The second line is the absolute directory path (from the root of the server), this works for secure urls. Unfortunately neither of these work for both secure and non-secure.
    If you remove the // comment from the second line and put it on the first line, you will then find the secure page works correctly, while the non-secure doesn't.
    On our osCommerce stores the non-secure version works for secure urls, but this doesn't appear to be the case for Zencart. I think you will need to ask the developers what needs to be done about this.

    Regards,

    Paul.


    Does anyone know a way that I can run on www.gravisuk.com but use the https://www.secure-epay.co.uk/gravis as my SSL folder and if so does the problem outlined above mean anything to you?

    admin config:
    Code:
     
    define('HTTP_SERVER', 'http://www.gravisuk.com');
      define('HTTPS_SERVER', 'https://www.gravisuk.com');
      define('HTTP_CATALOG_SERVER', 'http://www.gravisuk.com');
      define('HTTPS_CATALOG_SERVER', 'https://www.gravisuk.com');
      // Use secure webserver for catalog module and/or admin areas?
      define('ENABLE_SSL_CATALOG', 'false');
      define('ENABLE_SSL_ADMIN', 'false');
    store config:
    Code:
     
    // Define the webserver and path parameters
      // 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.gravisuk.com');
    //  define('HTTPS_SERVER', 'https://www.gravisuk.com');
      define('HTTPS_SERVER', 'https://www.secure-epay.co.uk/gravis');
      // 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', '/');
    Many thanks in advance.

    Dave

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

    Default Re: SSL problems

    For the time you will spend and seeing you have a dedicated server - get your own private certificate and install

    Check private messages
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. SSL Problems
    By DarrenQ in forum General Questions
    Replies: 29
    Last Post: 19 Jun 2010, 01:15 PM
  2. SSL Problems
    By dirtyweekender in forum General Questions
    Replies: 10
    Last Post: 29 Feb 2008, 01:45 PM
  3. SSL Problems
    By Lanarkwitch in forum General Questions
    Replies: 0
    Last Post: 14 Feb 2007, 04:29 PM

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