This is a discussion on securing admin? how do I do it? within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Apologies if it's obvious -- my client noticed that it wasn't secure and I need to fix it pronto pronto! ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Apologies if it's obvious -- my client noticed that it wasn't secure and I need to fix it pronto pronto! I thought it would be secure because I reinstalled and got the SSL working for the catalog (checkout is currently secure). Why isn't the admin secure? Do I need to reinstall again? Thanks ahead, Greg |
| Sponsored Links | ||
| ||
| |
|
#2
| ||||
| ||||
| Hi, you need to edit the admin/includes/configure.php file. Find the http server define and change it to your https url. Do the same for the https define. Make sure use ssl is set to 'True' That should secure it for you...
__________________ Michael Sasek osCMax Developer
|
| The Following User Says Thank You to michael_s For This Useful Post: | ||
typhus (04-12-2008) | ||
|
#3
| |||
| |||
| Thanks a heap! Worked like a charm. Cheers, Greg |
|
#4
| |||
| |||
| Hello, I just did that and noe it is showing as 'You are protected by a unknown secure SSL connection.' Please help David |
|
#5
| |||
| |||
| It's SSL. You're good. |
|
#6
| |||
| |||
| How did you get the checkout working? I am having a terrible problem in connecting the checkout, create account etc to SSL. Am using a shared SSL connection and it it having database problems. |
|
#7
| |||
| |||
| Quote:
http://oscdox.com/modules.php?op=mod...p;pagename=SSL |
| The Following User Says Thank You to groggory For This Useful Post: | ||
typhus (04-12-2008) | ||
|
#8
| |||
| |||
| I had to change the following line of code in the admin index.php file before it would recognise that the connection is secure (seems to be a peculiarity of this 1&1 server): around line 236: if (getenv('HTTPS') == 'on') changed to: if (getenv('HTTPS') == '1') The variable SSL_CIPHER_ALGKEYSIZE does not seem to be available on my server so I'm getting the message "...unknown secure SSL connection". |
|
#9
| ||||
| ||||
| Quote:
If your host allows htaccess and is using ModSSL, you should be able to add the following directive to your /admin .htaccess file to enable the SSL environment variables: Code: SSLOptions +CompatEnvVars Code: $size = ((getenv('SSL_CIPHER_ALGKEYSIZE')) ? getenv('SSL_CIPHER_ALGKEYSIZE') . '-bit' : '<i>' . BOX_CONNECTION_UNKNOWN . '</i>');
Code: $size = ((getenv('SSL_KEYSIZE')) ? getenv('SSL_KEYSIZE') . '-bit' : '<i>' . BOX_CONNECTION_UNKNOWN . '</i>');
__________________ Michael Sasek osCMax Developer
|
| The Following User Says Thank You to michael_s For This Useful Post: | ||
Growler (10-03-2008) | ||
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| securing and storing database queries | fun2bnuts | osCMax v2 Installation issues | 2 | 06-26-2005 10:09 PM |
| Securing iPayment payment module | imlek | osCommerce 2.2 Modification Help | 1 | 08-23-2004 07:50 AM |
| Page 13 - securing installation question ? | Anonymous | osCommerce 2.2 Installation Help | 1 | 11-29-2002 09:25 AM |