Fix: DLG_FLAGS_SEC_CERT_DATE_INVALID in Internet Explorer or Edge

Some Windows are encountering the DLG_FLAGS_SEC_CERT_DATE_INVALID error in Internet Explorer when trying to access certain websites. In most cases, affected users are reporting that the same web page is accessible from other 3rd party browsers such as Chrome, Firefox or Opera.

DLG_FLAGS_SEC_CERT_DATE_INVALID error message

If the issue is not beyond your control, badly cached data is often responsible for invalidating the security certificate. This is frequently reported on Microsoft Edge and Internet Explorer.

But it’s also possible that the behavior is caused by an outdated or corrupted certificate store that resides locally (or some dependencies that are located inside the user profile folder) or an incorrect date & time.

However, the DLG_FLAGS_SEC_CERT_DATE_INVALID error can be triggered by a network administration restriction (fairly common with work and school networks) or due to an expired SSL certificate. In this case, the only resolution is to try and get in contact with the web admin.

Method 1: Clearing Browsing data

As it turns out, in most cases, the issue will occur due to badly cached data that will end up invalidating the security certificate used for that particular website. This is especially true if you’re only encountering them on Edge or Internet Explorer (the webpage loads fine on 3rd party browsers).

Several affected users that found themselves in a similar situation have reported that they finally managed to get the issue resolved by clearing the browsing data in order to force the browser to load everything from scratch.

Keep in mind that the steps of doing so will be different depending on if you’re encountering the issue on Microsoft Edge or Internet Explorer – Because of this, we created two different guides that will accommodate every possible scenario.

Clearing browsing data in Edge

  1. Open your Edge browser and click on the action button (top-right section of the screen).
  2. Then, from the newly appeared context menu, scroll all the way down and click on Settings.
  3. Inside the Settings menu, select the Privacy & Security tab, then scroll down Browsing data and click on Choose what to clear.
    Choose what to clear
  4. Once you get to the next screen, uncheck Browsing history and check the boxes associated with Cookies and saved website data, Cached data and files and Tabs I’ve set aside or recently closed. Once the Clearing browsing data utility is configured, click on Clear to start the process.
    Clearing data in Microsoft Edge
  5. Once the operation is complete, restart your browser and see if the issue is resolved at the next browser startup.

Clearing browsing data in Internet Explorer

  1. Open an Internet Explorer tab and press Ctrl + Shift + Delete to open up the Delete Browsing History window.
  2. Once you’re inside the Delete Browsing History window, check the following boxes while leaving everything else unchecked:
    Temporary Internet files and website files
    Cookies and website data
  3. When you are ready to start the operation, click on the Delete button and wait for the operation to complete.
    Deleting Cookies in Internet Explorer
  4. Restart your browser and see if the issue is resolved.

In case you’re still encountering the same DLG_FLAGS_SEC_CERT_DATE_INVALID error while trying to visit certain websites in IE or Edge, move down to the next potential fix below.

Method 2: Disabling certificate mismatch verification

If the guides above didn’t allow you to resolve the issue, chances are the issue is beyond your control – It’s most likely a certificate issue that the webmaster will need to resolve.

However, if you are encountering the issue on Internet Explorer and you are certain that the website will not expose you to any security risks, you can configure your browser to ignore certificate addresses mismatches, which will eliminate the DLG_FLAGS_SEC_CERT_DATE_INVALID error.

Important: Keep in mind that this won’t resolve the issue. It will simply mask the issue and allow your browser to establish access with the web server, but the reason for the previous error will remain.

If you understand the security risks and you still want to disable the certificate mismatch verification, follow the instructions below:

  1. Press Windows key + R to open up a Run dialog box. Inside the text box, type ‘inetcpl.cpl’ and press Enter to open up the Internet Properties screen.
    Opening the Internet Properties screen

    Note: Depending on your account control settings, you might be prompted by the User Account Control prompt. If this happens, click Yes to grant admin access.

  2. Once you’re inside the Internet Properties screen, select the Advanced tab from the horizontal menu at the top.
  3. Inside the Advanced tab, scroll the menu belonging to Settings to the very bottom and uncheck the toggle associated with Warn about certificate address mismatch.

    Disabling certificate address mismatch in Internet Properties
  4. Click Apply to save the changes, then restart your computer in order to enforce the changes.
  5. Once the next startup sequence is complete, visit the same web address that was previously triggering the DLG_FLAGS_SEC_CERT_DATE_INVALID error and see if the problem has been fixed.

In case the same issue is still occurring, move down to the next method below.

Method 3: Update Computer Certificate store

Another reason that might cause this particular behavior is an outdated or certificate store or corrupted data.

Every Windows operating system stores a collection of locally Store certificates in a storage location called the Certificate Store. Typically, this location has numerous certificates from numerous different certification authorities (CAs).

However, a machine interruption during the installation of a new certificate or a virus infection (or a AV cleaning attempt) might end up corrupting this location, thus producing a myriad of errors including DLG_FLAGS_SEC_CERT_DATE_INVALID.

One way to fix it is to update your computer Certificate Store. There are multiple ways to do so, but the quickest approach is to use a command in an elevated CMD prompts that will update the root CA store.

Here’s a quick guide on updating the root CA store on your computer in order to fix a corrupted or outdated computer certificate store:

  1. Press Windows key + R to open up a Run dialog box. Next, type ‘cmd’ inside the elevated CMD prompt, then press Ctrl + Shift + Enter to open up an elevated CMD prompt.
    Running the Command Prompt

    Note: When you are prompted by the UAC (User Account Control), click Yes to grant administrative access.

  2. Once you’re inside the elevated CMD prompt, type the following command and press Enter to update an outdated or corrupted certificate store:
    certutil.exe -generateSSTFromWU roots.sst
  3. After the operation is complete, restart your computer and see if the issue is resolved at the next startup.

In case the same problem persists, move down to the next method for steps on resolving a local profile issue.

Method 4: Create a new user profile

According to several affected users, this problem can also surface due to some corrupted certificate store dependencies that are actually stored inside your user profile folder. If this scenario is applicable, you should be able to fix the issue by creating a new Windows profile in order to replace any corrupted files with healthy ones.

Note: This operation might end up resetting some user preferences.

The following fix was effective for users that encountered this problem with Internet Explorer.

Here’s a quick guide on creating a new user profile in order to resolve the DLG_FLAGS_SEC_CERT_DATE_INVALID:

  1. Open up a Run dialog box by pressing Windows key + R. Next, type ”ms-settings:otherusers’ and press Enter to open up Family & other people tab of the Settings app.
    Running dialog: ms-settings:otherusers
  2. After you manage to get inside the Family & other users tab, scroll down to the Other users tab and click on Add someone else to this PC.
  3. Once you move forward to the next screen, add the email or phone number associated with the Microsoft account that you plan to connect. If you want to create a local account, click on ‘I don’t have this person’s sign-in information‘.
  4. Once you manage to successfully login with your Microsoft account, click on Add a user without a Microsoft account (if you want a local account).
  5. As soon as you do this, add the username and password that you want to use for the new account, then fill up the security questions and click on Next once again.
  6. After you manage to create your new account, restart your computer. Once you get to the next startup screen, log in with the newly created account.
  7. Repeat the action that was previously causing the DLG_FLAGS_SEC_CERT_DATE_INVALID error and see if the issue has been resolved.
Creating a new Windows account in order to bypass system file corruption

If the issue is still not resolved, move down to the final potential fix below.

Method 5: Connect to a different network (if applicable)

If you’re encountering the issue on a restricted network (like a school of a work environment), it’s possible that the network administrator has enforced some type of restrictions that will prevent you from accessing that particular website.

In case this scenario is applicable, you should be able to fix the issue by connecting it to a different network – preferably your home network to see if the issue is still occurring.

However, if you are already connected to a network without restrictions, move down to the next potential fix below.

Method 6: Setting the correct Date & Time or timezone

Another fairly common instance that will end up triggering the DLG_FLAGS_SEC_CERT_DATE_INVALID  is an inaccurate date, time or timezone that will end up invalidating the security certificate. In most cases, a faulty CMOS battery will be responsible for your computer’s inability to keep track of time.

If you’re time & date are indeed off, the certificate issue should be resolved as soon as you establish the correct date, time and timezones values.

Here’s a quick guide on setting the correct date & time:

  1. Open up a Run dialog by pressing Windows key + R. Inside the text box, type ‘timedate.cpl’ and press Enter to open up the Date & Time window.
    Opening the Date and time window
  2. Once you get to the Date & Time window, click on the Date & Time tab and click on Change Date & time.
    Setting the correct date & time
  3. When you are prompted by the User Account Control, accept to allow the timedate.cpl admin access.
  4. At the next menu, use the calendar (under Date & Time) to set the appropriate values according to the time zone that you live in.
    Modifying Time & date
  5. After the correct values are instated, click on Apply to save the changes and ensure that the timezone is set accordingly to the location where you live.
  6. Restart your computer and attempt to access the same website that was previously failing once the next startup is complete.

If the issue is still not resolved, move down to the final potential fix below.

Method 7: Contacting the webmaster

If none of the methods above have allowed you to fix the issue and you’re only encountering the issue with a particular website (every browser throws a different error after the connection fails), it’s most likely due to an expired security certificate.

In this case, you’re only hope of getting the issue resolved is to get in contact with the web administrator and let them know that they have a certificate problem on their website.

Note: If the website is yours, you should check if your SSL certificate is still value.

If you’re not the owner of the website, you can typically find contact information by using the Contact us link – Most websites have one.

If that doesn’t work, you can also do a Whois search in order to find the owner and contact info of the domain owner. You can use this service (here) to search for that information.

ABOUT THE AUTHOR

Kevin Arrows


Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.