Recently, many users have reported seeing the Error Code: DLG_FLAGS_INVALID_CA on their Chrome browser while visiting some websites from their system. That is, when they try to load the webpage, instead of the webpage, they see the following error:
This site is not secure – Error code: DLG_FLAGS_INVALID_CA
OR
This site is not secure – Error code: DLG_FLAGS_SEC_CERT_CN_INVALID
When there is an error message that states, the site is not secure, that means there is some issue with the website’s certificate when the website is reached via HTTPS. Most likely the problem would be on the website’s end and we cannot do much about it. However, if you notice that you are getting the same error when you visit many other websites, then this could mean some settings from your end needs to be changed.
Possible reasons for this error to occur:
- The date and time setting is changed in our system. Since the date and time in the certificate and our system do not match, the certificate is not being validated and the above error is thrown
- The browser is trying to open the cached copy of the website, instead of the updated copy
In this article, we have segregated some fixes that might help you solve this error code.
Fix 1: Check the Date and Time
Step 1: From the right-hand side of the taskbar, check if the date and time displayed are correct
Step 2: If the date and time displayed are not right, right-click on the date and time displayed at the right-hand corner of the taskbar.
Step 3: Click on Adjust date/time from the context menu
Step 4: Toggle the button to turn ON the option Set time automatically.
Now, check if the error resolves, if not try the next fix.
Fix 2: Clear Browser’s Cache
Step 1: Open the Google Chrome Browser
Step 2: In the Address bar, type the below command and hit Enter
chrome://settings/clearBrowserData
Step 3: In the Clear browsing data window that opens, from the Time range drop-down choose All time
Step 4: Tick on Cached images and files
Step 5: Press the Clear data button
Fix 3: Reset the Browser
This simple fix has helped many users to fix the issue.
Step 1: Open the Google Chrome Browser
Step 2: In the Address bar, type the below command and hit Enter
chrome://settings/resetProfileSettings
Step 3: Click on Reset settings in the appearing prompt.
Step 4: Close and restart the browser and check if the issue solves.
Fix 4: Untick Warn About the Certificate Address Mismatch Option
Although this method is not recommended as it will stop browsers warning you about dangerous websites. But, if nothing is working and you are really desperate to fix this issue, you can try this solution.
Step 1: Press the keys Windows and R, and open the Run window.
Step 2: Type inetcpl.cpl and press the OK button
Step 3: In the Internet Properties window, go to the Advanced tab
Step 4: Scroll down and untick the option Warn about certificate address mismatch
Step 5: Click on Apply and finally, click on OK
Fix 5: Try Opening from a different browser
In case none of the above fixes work, try opening the website from some other browser.
That’s All. We hope this has been informative. Kindly comment and let us know the fix that helped you get rid of the error code.
Thank you for Reading.