Results 1 to 10 of 15

Hybrid View

  1. #1
    Join Date
    Jun 2011
    Posts
    145
    Plugin Contributions
    0

    Default SSL Problem - "insecure content"

    Hello,
    I have had a new ssl certificate installed on my site, and it is installed correctly as per the hosting account and zencart configurations in the configure.php files.
    I have a small issue where there are some problems with insecure content.
    I have checked all image src and the ones i can see are set up as https or http. If i change these, it makes no difference on the warnings i get.
    If i go to https://www.cakekraft.co.uk i get padlock errors saying the content is insecure in Chrome, Firefox and IE9, but if i use the standard http:// address all is ok.
    You can check by clicking the log in or create account on the right as this automatically goes to https://

    I disabled all banners, and removed icons etc, but i still cannot find what image is causing the problem.

    Can someone take a look at my site and maybe give me an idea what is causing this security problem.
    Thank you
    Nic.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: SSL Problem

    You appear to have a number of images that are called absolute rather than relative in your banners ...

    In FireFox, go to the link you posted and look at the Media tab and you will see a number of images as http rather than https ... those need to be fixed ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: SSL Problem

    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Jun 2011
    Posts
    145
    Plugin Contributions
    0

    Default Re: SSL Problem

    Quote Originally Posted by Ajeh View Post
    You appear to have a number of images that are called absolute rather than relative in your banners ...

    In FireFox, go to the link you posted and look at the Media tab and you will see a number of images as http rather than https ... those need to be fixed ...
    Ok thank you for getting back to me.
    So this issue looks like the images are hardcoded then.
    Im glad it is something that can be fixed.
    If i look at the images by the way you mentioned, there are some in the banners as http rather than https, so i suppose it is a case of changing the url to the https one in one of the template files.
    I will also change the js url for google too as i feel this could cause problems.
    If i run into any problems, or i get stuck, do you mind if i repost here for further help?
    Dr Byte, thanks for the link, makes it easier to take it in, thanks.
    Nic

  5. #5
    Join Date
    Jun 2011
    Posts
    145
    Plugin Contributions
    0

    Default Re: SSL Problem

    Just wanted to pop back on to say i have now sorted out the ssl errors i was getting.
    Thanks to Dr Byte and Ajeh for their advice.
    It was causing problems on my https pages, especially checkout etc, so i done some digging around in the files and found some old javascript (pointing to http) which was not used any more.
    I deleted it, and now all my https pages for checkout and create account etc, work perfectly.
    I will say however, that if you go to my homepage with https, it will still error, but as it is not needed for ssl reasons as no info is stored, i am ok with that until i have time to sort that one out!
    So now people can order in confidence
    Cheers
    Nic

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: SSL Problem

    You could probably fix that in the slider ... how do you have the images coded for that?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Jun 2011
    Posts
    145
    Plugin Contributions
    0

    Default Re: SSL Problem

    Hi Ajeh,
    The slider was done by the designer, so not sure how to find this out.
    However, the images are in the banner manager, and the banners are sent to this url: http://www.cakekraft.co.uk/cake-deco...er-decorations but the images are picked up from the /home/www/cakekraft.co.uk/images/banners/
    Does this help?
    Nic

  8. #8
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: SSL Problem - "insecure content"

    This looks wrong:
    Code:
    <a href="https://pinterest.com/cakekraft/"><img src="//assets.pinterest.com/images/pinterest-button.png" width="80" height="28" alt="Follow Me on Pinterest" /></a>
    and, yes, your slider is using http://your_site_name/etc/etc when it could be using relative paths instead, which would then stop the insecure alerts.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Jun 2011
    Posts
    145
    Plugin Contributions
    0

    Default Re: SSL Problem - "insecure content"

    Hello again,
    We i have spent over an hour to try and loctae the file Ajeh mentioned, but for the love of me i could not locate anything except the one she linked.
    This means i cannot get to the file to amend the image url's
    I have even gone to the developers site, and checked the files in the installation read me file, and funny enough, the file does not exist on my site lol.
    So this "file" is somewhere else.
    Not to worry yet, ill keep digging around.
    Dr Byte - The section you pointed out (pinterest) was taken from their workaround pages to overcome ssl issues. You are right though, it should have been:
    <a href="http://pinterest.com/USERNAME/"><img src="http://passets-ec.pinterest.com/images/about/buttons/pinterest-button.png" width="80" height="28" alt="Follow Me on Pinterest" /></a>

  10. #10
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: SSL Problem - "insecure content"

    How about a search on:

    <div id="slider">
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. v154 "Insecure Favicon" is causing mixed content on secure pages
    By BlackOrchidCouture in forum General Questions
    Replies: 18
    Last Post: 5 May 2015, 01:58 PM
  2. v151 Insecure content SSL
    By lj20272 in forum General Questions
    Replies: 5
    Last Post: 13 Oct 2013, 07:28 AM
  3. SSL Issue: warning: "contains unauthenticated content" in FF
    By edmore in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 22 Aug 2009, 10:40 AM
  4. Ssl Problem - get "warning: contains unauthenticated content"
    By StrictlyAutoParts in forum Basic Configuration
    Replies: 14
    Last Post: 4 Feb 2008, 06:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg