Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

remove SSL "security information" message


danil0

Recommended Posts

Posted

I installed the SSL paths and everything works fine.

 

But I want to avoid the Alerting on every SSL page. When the browser goes to my SSL paths, the browser alerting me on every page and asking me the same thing. The alerting message has title 'Security Information' and the message sais 'This page contains both secure and non secure items. Do you want to display the non secure items?' "Yes, No, More info"

 

I have visited many pages with https://..... but they dont have this message.

 

Is there any way to avoid it?

  • 2 months later...
Posted
I installed the SSL paths and everything works fine.

 

But I want to avoid the Alerting on every SSL page. When the browser goes to my SSL paths, the browser alerting me on every page and asking me the same thing. The alerting message has title 'Security Information' and the message sais 'This page contains both secure and non secure items. Do you want to display the non secure items?' "Yes, No, More info"

 

I have visited many pages with https://..... but they dont have this message.

 

Is there any way to avoid it?

 

...any ideas for this??

Posted

Post your includes/configure.php file, minus all of the database info at the bottom.

 

Vger

Posted
Post your includes/configure.php file, minus all of the database info at the bottom.

 

Vger

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.perfect-nails.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://www.ssl-id.de/perfect-nails.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.perfect-nails.com');

define('HTTPS_COOKIE_DOMAIN', 'https://www.ssl-id.de/perfect-nails.com');

define('HTTP_COOKIE_PATH', '/catalog4/');

define('HTTPS_COOKIE_PATH', '/catalog4/');

define('DIR_WS_HTTP_CATALOG', '/catalog4/');

define('DIR_WS_HTTPS_CATALOG', '/catalog4/');

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', '/home/strato/www/pe/www.perfect-nails.com/htdocs/catalog4/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

define('DB_SERVER', 'rdbms.strato.de'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'U156****');

define('DB_SERVER_PASSWORD', '**************');

define('DB_DATABASE', 'DB156*****');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

 

thank you

Posted

Another problem is that your secure pages contain links to unsecure items (for example babelfish.altavista.com).

Posted
Another problem is that your secure pages contain links to unsecure items (for example babelfish.altavista.com).

 

thanxs ... I ll check this out... patrioti ;)

Posted

Change this: define('HTTPS_COOKIE_DOMAIN', 'https://www.ssl-id.de/perfect-nails.com');

 

to this: define('HTTPS_COOKIE_DOMAIN', 'www.ssl-id.de/perfect-nails.com');

 

In your Flash file there are two references to downloads from the MacroMedia website and they both have http:// links - change them ot https://

 

Vger

Posted
Change this: define('HTTPS_COOKIE_DOMAIN', 'https://www.ssl-id.de/perfect-nails.com');

 

to this: define('HTTPS_COOKIE_DOMAIN', 'www.ssl-id.de/perfect-nails.com');

 

In your Flash file there are two references to downloads from the MacroMedia website and they both have http:// links - change them ot https://

 

Vger

 

SORRY but I tried everything. Exept your tries, I tried to remove from account.php the columns (left+right) and the header with flashes ... but it stell shows me the f****ing message. Only in IE7 not in Firefox. Where the hell is the problem??

Posted

The problem is that the page still has references to unsecured items, click the privacy report icon (IE7 down right) or on the padlock / media (Firefox down right) to see these items. Your padlock also fails in Firefox.

Posted
The problem is that the page still has references to unsecured items, click the privacy report icon (IE7 down right) or on the padlock / media (Firefox down right) to see these items. Your padlock also fails in Firefox.

In this report I see that there are many cookies blocked. Is this means that I have to change the path of all these blocked items from http://www.perf..... to inside paths like ../../ etc ?

Posted

The osc images should automatically switch to the https location, but in your site they still refer to http. Did you try the test from my previous post, create a file with:

echo 'SSL Status: ' . getenv('HTTPS');

 

If the result is not equal to on, you could try the hack as described here.

Posted

I tried everything .. seems like nothing works... mabe i will turn off ssl protection.

Posted

Thats one way to solve the problem, though I would be curious to the cause. What result did you get when you echoed 'SSL Status: ' . getenv('HTTPS'); under SSL?

Posted
Thats one way to solve the problem, though I would be curious to the cause. What result did you get when you echoed 'SSL Status: ' . getenv('HTTPS'); under SSL?

 

I m not expert in php and English also, so leasen what I figure and what I did.

 

I "paste" your line in an empty txt file. I renamed it to test.php and I put it in catalog/ directory. I write the path on explorer and nothing happens. What was your thought about it?

 

Sorry about my poorness ...

Posted

What are the results when put following content in your test.php and when you visit the file by https://www....

<?php
echo 'HTTP HOST: ' . "$HTTP_HOST";
echo '<br>Server Port: ' . getenv('SERVER_PORT');
echo '<br>SSL Status: ' . getenv('HTTPS');
echo '<br>Fowarded Server: ' . getenv('HTTP_X_FORWARDED_SERVER');
echo '<br>Fowarded Host: ' . getenv('HTTP_X_FORWARDED_HOST');
echo '<br>Fowarded By: ' . getenv('HTTP_X_FORWARDED_BY');
?>

Posted
What are the results when put following content in your test.php and when you visit the file by https://www....

<?php
echo 'HTTP HOST: ' . "$HTTP_HOST";
echo '<br>Server Port: ' . getenv('SERVER_PORT');
echo '<br>SSL Status: ' . getenv('HTTPS');
echo '<br>Fowarded Server: ' . getenv('HTTP_X_FORWARDED_SERVER');
echo '<br>Fowarded Host: ' . getenv('HTTP_X_FORWARDED_HOST');
echo '<br>Fowarded By: ' . getenv('HTTP_X_FORWARDED_BY');
?>

 

ok the results:

HTTP HOST: www.perfect-nails.com

Server Port: 443

SSL Status:

Fowarded Server:

Fowarded Host:

Fowarded By:

 

so ?

Posted

It confirms that the server is not able to detect the SSL status correctly (server configuration). You have to apply this hack.

 

In this hack replace:

(getenv('HTTPS') == '1')

 

 

By:

(getenv('SERVER_PORT') == '443')

 

This would fix the main part (if not all) of the unsecured items.

Posted

Check with your ssl-Provider and ask how the SSL-certificate exactly is issued.

 

The problem you are telling about normaly occurs, when you use a different domain than what is issued in the certificate.

 

For example: Certificate is issued to "ssl-blabla.com" and you use "www.ssl-blabla.com". Then you will always become the notifications you are talking about.

 

I hope this will help

 

Regards,

Ralf

Posted

I tried both .... but nothing again ... It still see the images in http mode and not https .... I can not understand it

Posted

I don't have other clues, I could have a look at the code if you would pm me the ftp info. Otherwise I hope someone else has a clue about this matter...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...