When you visit any web page on Google Chrome, Mozilla Firefox, or Microsoft Edge browser, the browser doesn’t load the page and shows the error message that reads This site is not secure – Error code: DLG_FLAGS_INVALID_CA or DLG_FLAGS_SEC_CERT_CN_INVALID. This problem occurs when there is an error in the website security certificate.
If the website’s safety is questionable and the browser prevents you from accessing the web page, we recommended you not visit these kinds of websites where your data is not secure.
If you have been visiting the website earlier, but this time browser is preventing you, you can click the “Go on to the webpage (not recommended)” option to visit the website.
What is DLG_FLAGS_INVALID_CA or DLG_FLAGS_SEC_CERT_CN_INVALID
When you see this error “The site is not secure” on the browser, it doesn’t matter what error code you receive; this error belongs to the website SSL or security certificate.
Websites that use HTTPS protocol have an SSL certificate installed on the origin server or CDN server. You may receive the error code -DLG_FLAGS_INVALID_CA or DLG_FLAGS_SEC_CERT_CN_INVALID when the following things happen.
- SSL certificate is not valid or expired
- Security certificate (SSL) not recognized by the browser
- SSL certificate is not properly installed on the website origin server
Fix “DLG_FLAGS_INVALID_CA” error
If the problem is in the website’s SSL certificate, you can do anything about this. You have to visit the unsecured website until the website administrator fixes this error.
If the website security certificate does not cause this problem, so you should do some troubleshooting on your Windows 10 computer.
1. Clear Browser’s cookie and cache data
Sometimes cookies and cache data may cause this error; clearing the browsing data may fix this error.
- Open the Browser.
- Then, open a New Window.
- Press the Ctrl + Shift + del keys.
- This will open the “Clear browsing data” window.
- Navigate to the Advanced tab.
- Select the Time range.
- Select the data you want to clear.
- Click the “Clear data” button to clear the data.
Once you complete the steps, visit the website on which the browser was preventing you to access the webpage.
2. Install the missing certificate
When you see the error “This site is not secure” message, click the “Continue to this website (not recommended)” option.
- Click the “Certificate Error” option.
- Then, click the “View Certificates” option.
- Select Install certificate and follow the on-screen steps.
- Click the “Yes” to proceed.
Manual certificate installation is not recommended on the websites that is unsecured and has poor reputation.
3. Try another Browser
If the error happens on Google Chrome, you can visit the same website on another browser such as Microsoft Edge and Firefox. This error can be backed by plugins or extensions that you have installed on the browse; therefore, trying another browser is important to identify the error.
If the website loads fine on another browser, now it’s confirmed that the error is on the default browser. Reset all the settings of the browser, and then revisit the webpage.
I hope the following methods solve your problem, if still, you have any questions, feel free to comment below.