Understand Security Issues With Microsoft Edge DevTools

Open the Security panel

The Security panel is the main place in DevTools for inspecting the security of a page.

  1. Open DevTools.

  2. Click the Security tab to open the Security panel.

    Figure 1

    The Security panel
    The Security panel

Common problems

Non-secure main origins

When the main origin of a page is not secure, the Security Overview says This page is not secure.

Figure 2

A non-secure page
A non-secure page

This problem occurs when the URL that you visited was requested over HTTP. To make it secure you need to request it over HTTPS. For example, if you look at the URL in your address bar, it probably looks similar to http://example.com. To make it secure the URL should be https://example.com.

If you already set up HTTPS on your server, all you need to do to fix this problem is configure your server to redirect all HTTP requests to HTTPS.

If you have not set up HTTPS on your server, Let's Encrypt provides a free and relatively-easy way to start the process. Or, you might consider hosting your site on a CDN. Most major CDNs host sites on HTTPS by default now.

Tip

The Use HTTPS hint in webhint may help automate the process of making sure that all HTTP requests are directed to HTTPS.

Mixed content

Mixed content means that the main origin of a page is secure, but the page requested resources from non-secure origins. Mixed content pages are only partially protected because the HTTP content is accessible to sniffers and vulnerable to man-in-the-middle attacks.

Figure 3

Mixed content
Mixed content

In Figure 3, click View 1 request in Network panel to open the Network panel and apply the mixed-content:displayed filter so that the Network Log only shows non-secure resources.

Figure 4

Mixed resources in the Network Log
Mixed resources in the Network Log

View details

View main origin certificate

From the Security Overview, click View certificate to quickly inspect the certificate for the main origin.

Figure 5

A main origin certificate
A main origin certificate

View origin details

Click one of the entries in the left-hand nav to view the details of the origin. From the details page you are able to view connection and certificate information. Certificate transparency information is also shown when available.

Figure 6

Main origin details
Main origin details

Note

Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons Attribution 4.0 International License.
The original page is found here and is authored by Kayce Basques (Technical Writer, Chrome DevTools & Lighthouse).

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.