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

SSL Security warning when using HTTPS

This is a discussion on SSL Security warning when using HTTPS within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; So i"ve been searching around the forums and have not been able to fix my problem with https. Basically when ...

      
  1. #1
    New Member
    Join Date
    Apr 2006
    Posts
    11
    Rep Power
    0


    Default SSL Security warning when using HTTPS

    So i"ve been searching around the forums and have not been able to fix my problem with https. Basically when a customer goes to checkout the page switches to https however they get that warning about some stuff on page is not https.

    In IE7 even worse, won't even take you to the page without clicking a ok link.

    My site I'm trying to get up is : http://store.baltind.com

    Anyhow, here is my configure:

    // * DIR_WS_* = Webserver directories (virtual/URL)
    define('HTTP_SERVER', 'http://store.baltind.com'); // eg, h
    define('HTTPS_SERVER', 'https://www.store.baltind.com'); //
    define('ENABLE_SSL', true); // secure webserver for checkout procedure?
    define('HTTP_COOKIE_DOMAIN', 'baltind.com');
    define('HTTPS_COOKIE_DOMAIN', 'store.baltind.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/');

    define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
    define('DIR_FS_CATALOG', '/baltind/newstore/catalog/');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');


    ?>


    my ssl certifcate is registered to 'www.store.baltind.com' and the main store catalog is under 'store.baltind.com'. Both those domains point to the directory "/baltind/newstore/catalog" on the server.

    Anyhow, if anyone has any hints I would greatly appreciate. I'm just using a slightly mod'ed aabox template which I'm gonna be changing out in the new year. Just trying to get something up for the next two weeks for a sale we are doing.

  2. #2
    New Member
    Join Date
    Apr 2006
    Posts
    11
    Rep Power
    0


    Default

    PS> I know the problem is with the darn images on the page. Seems that every image loads from the http page rather https. However, I'm fairly certain I have the image settings in configure correct.

  3. #3
    osCMax Developer

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


    Default

    First, change this:

    PHP Code:
       define('HTTP_COOKIE_DOMAIN''baltind.com'); 
    to this:
    PHP Code:
      define('HTTP_COOKIE_DOMAIN''store.baltind.com'); 
    But I do not think that is going to fix your issue. Let me know if it does...

    I think the issue is that your server is not sending what osCMax expects as a response to the ssl checking. This is the issue. I will have to look around for the way I fixed it before...
    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

  4. #4
    New Member
    Join Date
    Apr 2006
    Posts
    11
    Rep Power
    0


    Default

    Thanks for the quick reply. That did not help, I typoed it at some point when trying to figure this out last few days.

    I think the problem is with the base href setting. I'm using 1&1 Internet Inc. - Web Hosting Services and Domain Name Registration for hosting and found this post just a bit ago on it:

    osCommerce: 1and1 SSL Fix

    When I do a view source on the page it shows the base href as http not https. So I'm trying to read thru these oscommerce thread on how to fix this. If this rings any bells let me know thou

  5. #5
    osCMax Developer

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


    Default

    Yep, 1&1 has their own quirky ssl setup. That osCommerce fix you posted will resolve your problems. Follow the instructions and your ssl will start working for you...
    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
    Apr 2006
    Posts
    11
    Rep Power
    0


    Default

    Well...sure enough, as soon as I post a topic I figure it out. Been trying to get this working for like 4 days now!

    Got it working thou. I followed the steps in the above link from oscommerce for 1and1 hosting.

    I have a dedicated SSL cert so I did the following:
    ---------------------------
    BACKUP YOUR FILES FIRST!!!

    DEDICATED SSL WITH 1AND1 HOSTING
    *************************************************
    1. Change:
    (getenv('HTTPS') == 'on')
    to
    (getenv('HTTPS') == '1')
    in
    includes/application_top.php
    includes/functions/general.php
    admin/index.php

    2. The correct relative address html code for images using the dedicated ssl would be for example src="/images/logo_background_default.gif" with the '/' in the front.This is for either using your own html pages in the site or using the ever popular WYSIWYG HTML Editor which does not normally format the code in this way. Therefor you will need to manually change it.




    -----------------------

    I did not have to do step two. Seems 1and1 has some screwed up hosting settings. I think they are my cause of slowness on the overall site as well, crappy ass database server or webserver, not sure which is slowing things down yet.

    Thanks for your help thou. Maybe at least this will help someone else in the future

Similar Threads

  1. Warning: exec() has been disabled for security reasons in
    By prodigalyouth in forum osCMax v1.7 Installation
    Replies: 3
    Last Post: 03-02-2005, 06:27 AM
  2. https:// not quite doing it for me yet!
    By ozstar in forum osCmax v1.7 Discussion
    Replies: 11
    Last Post: 06-16-2004, 03:06 PM
  3. https-problem
    By springbank in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 01-05-2004, 08:31 AM
  4. when in https....
    By Anonymous in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 12-28-2002, 06:36 PM
  5. Too much https: ??
    By sheikyerbouti in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 12-11-2002, 05:40 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
  •