Error Code DLG_FLAGS_INVALID_CA Windows 10/11 (Solved)

When you visit a webpage or the homepage of a website, instead of loading the page, you receive an error that reads This site is not secure – Error code: DLG_FLAGS_INVALID_CA DLG_FLAGS_SEC_CERT_CN_INVALID in Microsoft Edge, Internet Explorer, Google Chrome or Mozilla Firefox on Windows 11 or Windows 10. This guide explains what the error indicates and what you can do to get rid of it.

What is error code DLG_FLAGS_INVALID_CA DLG_FLAGS_SEC_CERT_CN_INVALID?

To fix the issue, first you will have to know what this error is about. Whenever you see This site is not secure error regardless of what error code you receive, it implies that there is an issue with the website’s certificate if the website is running HTTPS.

If you are particularly getting DLG_FLAGS_INVALID_CA DLG_FLAGS_SEC_CERT_CN_INVALID error code in Windows 11/10, it could mean a few things.

  • The website’s certificate cannot be recognized by your browser.
  • The website’s certificate is either expired or not installed correctly.
  • The website is using HTTPS without a proper certificate installed and pretend to be secured.

The error basically indicates that there is an issue with the website’s certificate if the website has one. A website’s certificate is controlled by the administrator or owner of the website itself. Therefore, there is really nothing you can do about it if the error is with the website’s certificate.

This error often happen when a website’s admin forgets to renew its certificate, thus causing This site is not secure error code DLG_FLAGS_INVALID_CA DLG_FLAGS_SEC_CERT_CN_INVALID to its readers whenever a HTTPS page is requested.

DLG_FLAGS_INVALID_CA DLG_FLAGS_SEC_CERT_CN_INVALID

What are the options available?

When you see “This site is not secure” error, particularly DLG_FLAGS_INVALID_CA error code, you would usually see the following two options.

Back to safety or Go to your start page link which will redirect you to the previous webpage or to your default starting page of your browser. This is usually the recommended option so that you don’t get into trouble by visiting sites that very much can be malicious if the certificate is incorrect.

By clicking on Advanced then Continue to this website or Proceed anyway link will ignore the warning and proceed loading the webpage regardless of its unrecognizable certificate. This is not recommended on websites that you can’t tell if it’s trust-able.

However, there can also be a few situations where the certificate of the website is legit and running fine but you’re still getting the error. If that’s the case, especially if you get the same error across all websites you try to visit, or are visiting to some websites that you are sure they can be trusted, here’s what you can do to fix the issue.

Fix: DLG_FLAGS_INVALID_CA DLG_FLAGS_SEC_CERT_CN_INVALID Windows 11/10

Check the Date & Time

Incorrectly set date and time is one of the most common reason to SSL and certificate error when you visit to any HTTPS website. This is because when your browser tries to read the certificate to decide if it’s safe to visit the secured page. It will first check on its date to see if it matches your local date and time. If it doesn’t, it will show a certificate error such as This site is not secure error code DLG_FLAGS_INVALID_CA DLG_FLAGS_SEC_CERT_CN_INVALID error.

To check your date and time, in Windows 11/10, right-click on the date and time on your taskbar. Select Adjust Date/Time. Enable the set time automatically option to allow Windows to automatically sync your time with Microsoft server so that your PC will always show the most precise time.

Set time automatically Windows 11

Windows 11

DLG_FLAGS_INVALID_CA Windows 10

Windows 10

Clear your browser’s cache

Another reason that the error code DLG_FLAGS_INVALID_CA would show up is when your browser is trying to load a cached version of the webpage instead of reloading the updated version of it when there has been changes. For example, if the website has already renewed its certificate but your browser is still showing the older version of the website because of an existing cache on your browser, you will likely still see the error.

Try to clear your browser’s cache and see if it fixes the DLG_FLAGS_INVALID_CA DLG_FLAGS_SEC_CERT_CN_INVALID error on Microsoft Edge, Google Chrome or Mozilla Firefox.

The steps to clear browser’s caches vary from browser to browser. The option is usually in the Settings or Options page of your browser. For example, in Chrome browser, click on the option button at the top right corner of Chrome’s window and select Settings. Search for cache and select “Clear browsing data“. Clear the “Cookies and other site data” and “Cached images and files“.

Clear browser cache and cookies Chrome

As for Microsoft Edge, go to Settings, then Choose what to clear. For Firefox, click on Options, then clear cookies and cache.

Error Code DLG_FLAGS_INVALID_CA

After clearing your browser cache, retry visiting to the problem website again.

Try to use another web browser

If the issue happens in Edge, try to use a different browser such as Chrome or Firefox. The issue may sometimes be with your default web browser. The causes can be plugins or extensions you’ve installed, incorrectly configured browser settings, faulty proxy settings, or outdated browser.

If the website loads fine on another browser, you may want to reset your problem browser to default to try to fix the This site is not secure error code DLG_FLAGS_INVALID_CA DLG_FLAGS_SEC_CERT_CN_INVALID issue in Windows 10/11.

Description for sharing: How to fix "This site is not secure - DLG_FLAGS_INVALID_CA DLG_FLAGS_SEC_CERT_CN_INVALID" in Windows 11/10 on Edge, Chrome or Firefox.

Published by Nyau Wai Hoe - Updated on