osCmax v2.5 User Manual
Page 1 of 4 123 ... LastLast
Results 1 to 10 of 32

What do i need to do to make my SSL certificate work?

This is a discussion on What do i need to do to make my SSL certificate work? within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; Hello guys! I am not a real techie and i have no idea how to setup my newly bought SSL ...

      
  1. #1
    New Member
    Join Date
    Oct 2009
    Posts
    16
    Rep Power
    0


    Default What do i need to do to make my SSL certificate work?

    Hello guys!

    I am not a real techie and i have no idea how to setup my newly bought SSL certificate.. I have bought it from Godaddy and Hostgator installed it.. Which changes do i need to make now so that my store will run on https instead of http?

    Thank you for your help guys, i am really stuck here :S

  2. #2
    New Member
    Join Date
    Oct 2009
    Posts
    16
    Rep Power
    0


    Default Re: What do i need to do to make my SSL certificate work?

    I found on the forum that i should change my configure.php file from this:
    // * DIR_FS_* = Filesystem directories (local/physical)
    // * DIR_WS_* = Webserver directories (virtual/URL)
    define('HTTP_SERVER', 'http://www.nannycamz.com');
    define('HTTPS_SERVER', 'http://www.nannycamz.com');
    define('ENABLE_SSL', false);
    define('HTTP_COOKIE_DOMAIN', 'www.nannycamz.com');
    define('HTTPS_COOKIE_DOMAIN', 'www.nannycamz.com');
    define('HTTP_COOKIE_PATH', '/');
    define('HTTPS_COOKIE_PATH', '/');
    define('DIR_WS_HTTP_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    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/');

    To this:
    // Define the webserver and path parameters
    // * DIR_FS_* = Filesystem directories (local/physical)
    // * DIR_WS_* = Webserver directories (virtual/URL)
    define('HTTP_SERVER', 'http://www.yourserver.com'); // eg, cPanel® - should not be empty for productive servers
    define('HTTPS_SERVER', 'https://www.yourserver.com'); // eg, https://localhost - should not be empty for productive servers
    define('ENABLE_SSL', true); // secure webserver for checkout procedure?
    define('HTTP_COOKIE_DOMAIN', 'www.yourserver.com');
    define('HTTPS_COOKIE_DOMAIN', 'www.yourserver.com');
    define('HTTP_COOKIE_PATH', '/catalog/');
    define('HTTPS_COOKIE_PATH', '/catalog/');
    define('DIR_WS_HTTP_CATALOG', '/catalog/');
    define('DIR_WS_HTTPS_CATALOG', '/catalog/');
    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    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/');


    But when i make the changes it says that a fatal error occured and the changes dont get saved..

  3. #3
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Default Re: What do i need to do to make my SSL certificate work?

    Look in the 2 config.php files.
    Hosting plans with installation, configuration, contributions, support and maintenance.

  4. #4
    New Member
    Join Date
    Oct 2009
    Posts
    16
    Rep Power
    0


    Default Re: What do i need to do to make my SSL certificate work?

    Yup i found it on the forum and changed both the configure.php files buuut looks like there is still some html that is not https.. I changed all the products and everything into https..

    Could it be the cookies?

    I want to change everything because currently my site shows a padlock with an exclamation and that is not good for potential customers

  5. #5
    osCMax Developer

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


    Default Re: What do i need to do to make my SSL certificate work?

    Quick lesson on SSL:

    Do NOT encrypt any pages that do not specifically require it. Your search engine rankings will suffer. Your web site performance will suffer. Your sales will suffer.

    osCMax is designed to automatically encrypt the pages that need it. All you have to do is set the ssl to true, and then define the HTTPS_SERVER and HTTPS_COOKIE_DOMAIN properly.

    You should only be encrypting pages where sensitive or customer information is collected/transmitted. Product pages should never be encrypted as there is nothing that needs to be encrypted on those pages. It is simply a waste of server resources and end user time.
    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

  6. #6
    New Member
    Join Date
    Oct 2009
    Posts
    16
    Rep Power
    0


    Default Re: What do i need to do to make my SSL certificate work?

    Ok, but then the SSL does not show properly.. It show a flaw, like i said a padlock with an exclamation.. Do you think that costumers wont mind? Do you have any stores that work this way?

    Thanks

  7. #7
    New Member
    Join Date
    Oct 2009
    Posts
    16
    Rep Power
    0


    Default Re: What do i need to do to make my SSL certificate work?

    I have set it like you said but this looks a bit weird now.. Take a look at my NannyCams

    When you go to the secured part of the site(click create an account) you get a non verified SSL..

    Do you have your stores made like this as well?

  8. #8
    osCMax Developer

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


    Default Re: What do i need to do to make my SSL certificate work?

    you have hardcoded some non-ssl image or javascript sources.

    A quick look at the source code reveals:

    HTML Code:
    <script language="javascript" type="text/javascript"><!--
    function session_win() {
      window.open("http://www.nannycamz.com/info_shopping_cart.php?osCsid=931c8f873ed67d39e8659fc82f1f792d","info_shopping_cart","height=460,width=430,toolbar=no,statusbar=no,scrollbars=yes").focus();
    }
    and
    HTML Code:
    <img style="width: 750px; height: 57px;" alt="" src="http://www.nannycamz.com/images/payments.jpg">
    You cannot hard code a HTTP source. It must ALWAYS be coded as a relative path to the image/src.



    //--></script>
    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

  9. #9
    osCMax Development Team
    Join Date
    Nov 2002
    Location
    Orlando
    Posts
    433
    Rep Power
    14


    Default Re: What do i need to do to make my SSL certificate work?

    You definitely don't want any errors that could scare off a customer or lower your credibility.
    Your problem is you are displaying non ssl images on your ssl pages. Here is your culprit
    http://www.nannycamz.com/images/payments.jpg
    This is most likely due to you setting this as an absolute link, which you don't want to do. Look at how your other images are displayed and copy that. For instance like this
    PHP Code:
    <img src="<?php echo DIR_WS_IMAGES .'payments.jpg' ?>" alt="accepted cards">
    or
    Code:
    EDIT this keeps getting changed by forum software
    I think that is your only issue but if you see this more look for this problem.

    FYI, I found this using Firefox browser and clicking on page info on your create account page.
    Last edited by JohnW; 10-13-2009 at 11:04 AM.
    John

  10. #10
    osCMax Development Team
    Join Date
    Nov 2002
    Location
    Orlando
    Posts
    433
    Rep Power
    14


    Default Re: What do i need to do to make my SSL certificate work?

    I was looking at your site a little more just to see what all you sold and I noticed your small images are being resized to distort their height and width aspect ratios. You really don't want to set your store to adjust both height and width for this reason. Over time I've found it best to try and make a thumb image that is a uniform height and not have the software adjust it. Google's page speed and Yslow also recommend not manipulating image sizes in html.
    John

Page 1 of 4 123 ... LastLast

Similar Threads

  1. Make us your homepage link - Does anyone know how to make?
    By markymrk22 in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 06-05-2005, 08:49 AM
  2. SSL - I have a certificate installed but...
    By reggiman in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 02-14-2005, 09:12 AM
  3. certificate problems
    By pete76uk in forum osCommerce 2.2 Installation Help
    Replies: 3
    Last Post: 10-20-2004, 10:15 AM
  4. SSL/Certificate question
    By vdgg in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 03-29-2004, 07:13 AM
  5. Do I need one ssl certificate per shop?
    By alisonpurcell in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 04-10-2003, 12:45 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
  •