AuraDev Posted March 8, 2003 Share Posted March 8, 2003 I'm trying to get this SSL working, but it keeps popuping up that there are secure and non secure items on the page. How do I configure it right. My webhosting company installed the SSL Certificate. http://churchproaudio.com/catalog/ try to buy something use this login [email protected] pass- help Thanks, -Chris Link to comment Share on other sites More sharing options...
AuraDev Posted March 8, 2003 Author Share Posted March 8, 2003 that pass should be helpme Thanks, Chris Link to comment Share on other sites More sharing options...
AJ Posted March 8, 2003 Share Posted March 8, 2003 I am getting an error that your certificate is invalid. However, on the secure pages, your page is showing secure if you right click -> properties the page or images. Of course, there is no padlock, so there is something wrong. Post the 3 lines of your /catalog/includes/configure.php HTTP, HTTPS, HTTPS Checkout here so we can see what your doing. Link to comment Share on other sites More sharing options...
AuraDev Posted March 8, 2003 Author Share Posted March 8, 2003 define('HTTP_SERVER', 'http://churchproaudio.com'); define('HTTPS_SERVER', 'https://churchproaudio.com'); define('ENABLE_SSL', true); // secure webserver for checkout procedure? Link to comment Share on other sites More sharing options...
AJ Posted March 8, 2003 Share Posted March 8, 2003 There is your problem! The SSL certificate you have issued to you is issued to you under www.churchproaudio.com. You don't have a wildcard certificate; *.churchproaudio.com so you must use: http://www.chruchproaudio.com and https://www.churchproaudio.com Make these changes and your site will work just fine with SSL. Link to comment Share on other sites More sharing options...
AuraDev Posted March 8, 2003 Author Share Posted March 8, 2003 Thanks, I did that checked the security, its working. Now how do I make it so that it doesn't display insecure items when it goes into secure mode? I don't want it to popup that "This page displays secure and insecure items" warning every time the customer advances to the next step in checkout. -Chris Link to comment Share on other sites More sharing options...
AJ Posted March 8, 2003 Share Posted March 8, 2003 There are a number of things that can cuase this. It's trial and error to find out... The first thing I recommened trying... change /catalog/includes/configure.to to define('ENABLE_SSL', 'false') See if that works. If not, you can try this... If you don't already have this section in /catalog/inlcudes/application_top.php -- try adding this: // set the type of request (secure or not) $request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL'; #$request_type = (eregi($HTTP_HOST, $HTTPS_SERVER)) ? 'SSL' : 'NONSSL'; Hope that helps and gets you going. Link to comment Share on other sites More sharing options...
AJ Posted March 8, 2003 Share Posted March 8, 2003 Sorry... in application_top.php #$request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL'; $request_type = (eregi($HTTP_HOST, $HTTPS_SERVER)) ? 'SSL' : 'NONSSL'; Link to comment Share on other sites More sharing options...
AuraDev Posted March 9, 2003 Author Share Posted March 9, 2003 I figured it out, thanks for helping me get it setup right, but after that, the problem was that the images in the banner were not secure, so when the site accessed them in secure checkout mode, it brought up the error. It was a quick fix once I figured it out. Thanks for your help! -Chris Link to comment Share on other sites More sharing options...
Guest Posted March 12, 2003 Share Posted March 12, 2003 How did you make the images secure? Thanks! Link to comment Share on other sites More sharing options...
ixbiosxi Posted March 12, 2003 Share Posted March 12, 2003 Normally and insecure image is cause its not hosted on your site or in the image directory. For an osCommerce and STS Tutorial click the www button in my profile. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.