IT Blog

  • Blog
  • Technology
    • Technology
    • Architecture
    • CMS
    • CRM
    • Web
    • DotNET
    • Python
    • Database
    • BI
    • Program Language
  • Users
    • Login
    • Register
    • Forgot Password?
  • ENEN
    • 中文中文
    • ENEN
Experience IT
In a World of Technology, People Make the Difference.
  1. Home
  2. Technology
  3. Security
  4. Mixed Content warning: request an insecure element was automatically upgraded to HTTPS

Mixed Content warning: request an insecure element was automatically upgraded to HTTPS

2020-12-02 457 Views 1 Like 0 Comments

After applied SSL settings to enforce HTTPS browser starts complaining "Mixed Content: ..." as the image shown bellow.

Mixed Content warning: request an insecure element was automatically upgraded to HTTPS

Mixed Content warning: request an insecure element was automatically upgraded to HTTPS

"Mixed Content" warnings occur when an HTTPS page is asked to load a resource over HTTP. Insecure resources are vulnerable to alteration by an active attacker or eavesdropping by a passive attacker, which violates the user's expectation of security for an HTTPS page. Ref: Fixing mixed content for more information.

Fix:

Change all insured links with "http://" to "https://" on the page. This could a tough work and time consuming. The following is a hot fix, it works very well for me.

Hot fix:

Add meta content in html head section to allow browser automatically upgrade http to https, ensure loading contents through SSL layer.

<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">

Mixed Content warning: request an insecure element was automatically upgraded to HTTPS

Mixed Content warning: request an insecure element was automatically upgraded to HTTPS

Loading

error
fb-share-icon
Tweet
fb-share-icon
IT Team
Author: IT Team

Tags: None
Last updated:2020-12-02

IT Team

This person is lazy and left nothing

Like
< Previous
Next >

Comments

Cancel reply
Newest Hotspots Random
Newest Hotspots Random
Rich editor not working Making web page scroll down automatically Getting data from Dapper result All Unicode Chars How to keep and display contact form 7 data Common Regular Expressions
Sending mail from SSIS Special Links in HTML The event Calendar monthly view tooltip location Using widget components in any place WP Plugin "User Specific Content" review PHP - Delete folder
Categories
  • Architecture
  • BI
  • C#
  • CSS
  • Database
  • DotNET
  • Hosting
  • HTML
  • JavaScript
  • PHP
  • Program Language
  • Python
  • Security
  • SEO
  • Technology
  • Web
  • Wordpress

COPYRIGHT © 2021 Hostlike IT Blog. All rights reserved.

This site is supported by Hostlike.com