osCmax v2.5 User Manual
Page 3 of 3 FirstFirst 123
Results 21 to 28 of 28

SSL - PLEASE somebody help?

This is a discussion on SSL - PLEASE somebody help? within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; add an index.html file to /admin with a redirect to https://yourdomain.com/catalog/admin or whatever your path to admin is. If your ...

      
  1. #21
    Active Member red_fraggle's Avatar
    Join Date
    Feb 2004
    Location
    wilmington, NC
    Posts
    343
    Rep Power
    9


    Default

    add an index.html file to /admin with a redirect to https://yourdomain.com/catalog/admin or whatever your path to admin is. If your on cpanel this is fine, if your on plesk and not using symlinked httpdocs and httpsdocs folders then you will also need to copy all admin files to your httpsdocs folder.

  2. #22
    Active Member
    Join Date
    Oct 2004
    Posts
    215
    Rep Power
    8


    Default

    I tried and I tried but it just isn't quite working.

    Forget the automatic SSL for now. I'm just trying to get it to work in the admin.

    Note: I'm using shared SSL right now
    Note: I turned off all redirects

    if I go to 'https://myURL.com/catalog/admin' I am prompted for the certificate. I click OK and am taken to the admin page. It is NOT encrypted.

    I login....I am taken to my admin page. It is not encrypted.

    I change the URL to https instead of http. It IS encrypted.

    -------

    So I guess my question is, how to I get the login to admin to be encrypted, and how do I get it to stay encrypted once I login?

    Thanks

  3. #23
    Active Member red_fraggle's Avatar
    Join Date
    Feb 2004
    Location
    wilmington, NC
    Posts
    343
    Rep Power
    9


    Default

    whats "myURL.com" ? send me an email with login details to cmurphy@hyperactivehosting.com and ill take a look for you. include ftp address username and password so i can look at your config files.

  4. #24
    osCMax Developer

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


    Default

    In the admin configure.php file, simply change the HTTP_SERVER to your https url and the admin will always use your SSL path.

    For instance, if your http url is https://some-site.com, change the following HTTP_SERVER define to look like the code below :

    Code:
    define('HTTP_SERVER', 'https://some-site.com'); // eg, http://localhost - should not be empty for productive servers
    That is all there is to it. Now the admin login and all pages of the admin will work using SSL.
    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

  5. #25
    Active Member
    Join Date
    Oct 2004
    Posts
    215
    Rep Power
    8


    Default

    That worked perfectly!

    Thank you! I just updated the wiki with the changes

    http://www.oscdox.com/modules.php?op...p;pagename=SSL

  6. #26
    Active Member
    Join Date
    Oct 2004
    Posts
    215
    Rep Power
    8


    Default

    Quote Originally Posted by red_fraggle
    whats "myURL.com" ? send me an email with login details to cmurphy@hyperactivehosting.com and ill take a look for you. include ftp address username and password so i can look at your config files.
    'myURL.com' is just a make-believe URL. I was trying to make this an anonymous case. I don't know why you need my login details to look at my config files either being that I included them in my post.

  7. #27
    Active Member red_fraggle's Avatar
    Join Date
    Feb 2004
    Location
    wilmington, NC
    Posts
    343
    Rep Power
    9


    Default

    didnt see that you had posted them, many apologies. Take a look at my posts, you'll see i help people not erase their hard drives, no need to get paranoid on me

  8. #28
    Lurker
    Join Date
    Aug 2005
    Posts
    2
    Rep Power
    0


    Default

    My experience with ixwebhosting was excellent. I just moved my website to ixwebhosting and now have my OSCommerce store up and running. I used to have a Mercantec store at a different webhost.

    I found that ixwebhosting's control panel made it very easy to install the mysql data base, the OSCommerce store, and the shared SSL with some occasional help from the always available online chats or by submitting a trouble ticket.

    I was especially impressed by the way ixwebhosting routinely solves the shared-SSL pop-ups problem. They give you a virtual address which ends with ixwebhosting.com so that the shared SSL does not generate the security alert, "The name of the security certificate ... does not match the name of the site." I don't know whether this is now common, but it wasn't an option at my old webhost.

    It took me a while to get my configurations correct in the configuration.php files (there are two of them in the ixwebhosting implementation of OSCommerce):

    define('HTTP_SERVER', 'http://pahomeschoolers.c2.ixwebhosting.com'); // eg, http://localhost - should not be empty for productive servers
    define('HTTPS_SERVER', 'https://pahomeschoolers.c2.ixwebhosting.com'); // eg, https://localhost - should not be empty for productive servers
    define('ENABLE_SSL', true); // secure webserver for checkout procedure?
    define('HTTP_COOKIE_DOMAIN', 'pahomeschoolers.c2.ixwebhosting.com');
    define('HTTPS_COOKIE_DOMAIN', 'pahomeschoolers.c2.ixwebhosting.com');

    I go right into the secure server when I enter my store from www.pahomeschoolers.com through the following URL:

    https://pahomeschoolers.c2.ixwebhost...alog/index.php

    Howard

Page 3 of 3 FirstFirst 123

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
  •