# How to create Browser Monitor that does not ignore certificate errors

**URL:** <https://community.dynatrace.com/t/how-to-create-browser-monitor-that-does-not-ignore-certificate-errors/41256>\
**Category:** Troubleshooting\
**Tags:** browser-monitors, synthetic-monitoring\
**Created:** [August 17, 2023, 4:12pm UTC](https://community.dynatrace.com/t/how-to-create-browser-monitor-that-does-not-ignore-certificate-errors/41256 "2023-08-17T16:12:59Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![hannahmac](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/hannahmac/32/41823_2.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [August 17, 2023, 4:12pm UTC](https://community.dynatrace.com/t/how-to-create-browser-monitor-that-does-not-ignore-certificate-errors/41256/1 "2023-08-17T16:12:59Z")

</div>

## Summary

By default, Dynatrace browser monitors run in a Chrome instance that ignores certificate errors. In some cases—such as testing secure environments—you may want your browser monitor to _fail_ when an invalid or expired certificate is detected.This guide explains how to create or update a browser monitor so that it enforces certificate validation across **all location types** (public, private, and cluster).

## Resolution

To ensure your browser monitor fails when certificate issues occur, set the Chromium startup flag&nbsp; **ignore-certificate-errors** to&nbsp;false / disabled.

### (Latest Dynatrace) How to create a Browser Monitor that doesn’t ignore certificate errors

1. Go to&nbsp; **Synthetic** &nbsp;in latest Dynatrace.

2. Select&nbsp;&nbsp; **New monitor** &nbsp;\>&nbsp; **Browser.**

3. Configure the monitor, as required. See [docs](https://docs.dynatrace.com/docs/observe/digital-experience/synthetic-on-grail/synthetic-app/create-configure-browser-monitors)&nbsp;for steps.

4. On the Advanced setup tab, expand **Chromium Startup Flags.**

5. Set&nbsp; **Ignore certificate errors** to **Disabled**.

6. Select **Continue.**

7. See the summary of all the steps. If everything’s OK, and no more adjustments are needed,&nbsp; **Save** &nbsp;the newly configured monitor.

### (Latest Dynatrace) Update a Browser Monitor to not ignore certificate errors

1. Go to&nbsp; **Synthetic** &nbsp;in latest Dynatrace.
2. Select the browser monitor you want to configure.
3. Select&nbsp; **Edit.**
4. Select the **Advanced Setup** tab.
5. Expand **Chromium Startup Flags.**
6. Set&nbsp; **Ignore certificate errors** to **Disabled**.
7. Select **Save**

### (Classic) How to create a Browser Monitor that does not ignore certificate errors

1. Go to&nbsp; **Synthetic** &nbsp;in the Dynatrace Classic menu, or open the **Synthetic Classic** app in latest Dynatrace.

2. Select&nbsp; **Create a synthetic monitor** &nbsp;in&nbsp;the top right \>&nbsp; **Create a browser monitor**.

3. On the Configure a browser monitor page, type in the&nbsp; **URL** &nbsp;you want to monitor and either use the default&nbsp; **Name** &nbsp;or provide your own.

4. Select&nbsp; **Script Mode**

5. Add the following to the configuration section under chromiumStartupFlags

6. Add any further steps required

7. Choose&nbsp; **Next** &nbsp;to continue configuration—select monitor locations and frequency. See&nbsp;[Configure browser monitors](https://www.dynatrace.com/support/help/platform-modules/digital-experience/synthetic-monitoring/browser-monitors/configure-browser-monitors)&nbsp;for details.

8. Select&nbsp; **Next** &nbsp;at the bottom of the page to view the monitor summary.

9. On the Summary page, you can review and change your configuration ( **Change URL or name** ;&nbsp; **Change configuration** ).

10. At the bottom of the page, select&nbsp; **Create browser monitor**.

### (Classic) Update a Browser Monitor to not ignore certificate errors

1. Go to&nbsp; **Synthetic** &nbsp;in the Dynatrace Classic menu.

2. Select the browser monitor you want to configure.

3. Select&nbsp; **Edit** &nbsp;from the quick links to go to monitor settings. Alternatively, you can go to the&nbsp; **Synthetic** &nbsp;monitors page, select the checkbox next to the monitor you want to edit, and select&nbsp; **Edit** &nbsp;at the bottom of the page.

4. Select **Recorded Clickpath** &nbsp;, if it’s a Browser Clickpath monitor, or **Monitor Script**

5. Select&nbsp; **Script Mode**

6. Add the following to the configuration section under chromiumStartupFlags

7. Select **Save Changes**

## What’s Next

### Get advanced warning of a certificate expiring

If you would like to be warned in advance of the certificate’s expiry, you can use the HTTP Monitor SSL Certificate expiry option.&nbsp;

> **[Configure HTTP monitors in Classic](https://docs.dynatrace.com/docs/observe/digital-experience/synthetic-monitoring/http-monitors-classic/configure-http-monitors-classic)**
>
> Learn about configuring HTTP monitors.

### Further troubleshooting

If you still need assistance, open a chat or support ticket and provide a link to the affected monitor and explain what your are trying to do and what you have already tried.

**Related reading**

📖&nbsp; [Synthetic Troubleshooting Map](https://community.dynatrace.com/topic/250426)

📖&nbsp; [Synthetic Browser Monitor Error Codes](https://community.dynatrace.com/topic/198177)

📖&nbsp; [Create and configure a browser monitor](https://docs.dynatrace.com/docs/shortlink/synthetic-app-browser-monitor)

📖&nbsp; [(Classic) Browser monitor script mode](https://docs.dynatrace.com/docs/observe/digital-experience/synthetic-monitoring/browser-monitors/script-mode-for-browser-monitor-configuration)

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [August 17, 2023, 5:46pm UTC](https://community.dynatrace.com/t/how-to-create-browser-monitor-that-does-not-ignore-certificate-errors/41256/2 "2023-08-17T17:46:09Z")

</div>

Thank you for Sharing this&nbsp;[@HannahM](https://community.dynatrace.com/user/1433)

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [February 15, 2024, 12:14am UTC](https://community.dynatrace.com/t/how-to-create-browser-monitor-that-does-not-ignore-certificate-errors/41256/3 "2024-02-15T00:14:56Z")

</div>

[@HannahM](https://community.dynatrace.com/user/1433),

I confess I’m a little bit confused here, and not what I was expecting: by default, a Chrome Browser does not ignore cert errors, but indeed tries that the user not proceed to a site with an invalid cert.

This implies that sites with a self-signed, invalid CA or whatever invalid cert may be out there, do not give an error by default in browser monitors?

---

<div class="post-metadata">

**Author:** ![hannahmac](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/hannahmac/32/41823_2.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [February 15, 2024, 6:03pm UTC](https://community.dynatrace.com/t/how-to-create-browser-monitor-that-does-not-ignore-certificate-errors/41256/4 "2024-02-15T18:03:50Z")

</div>

For Browser monitors, we start the Browser with the

```markup
--ignore-certificate-errors

```

parameter. This does indeed ignore certificate errors.

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [February 15, 2024, 6:42pm UTC](https://community.dynatrace.com/t/how-to-create-browser-monitor-that-does-not-ignore-certificate-errors/41256/5 "2024-02-15T18:42:00Z")

</div>

[@HannahM](https://community.dynatrace.com/user/1433),

Thanks for the clarification. If asked before, I would certainly not have said it worked this way 😁 But I do understand why it’s done this way…

---

<div class="post-metadata">

**Author:** ![lsantos](https://avatars.discourse-cdn.com/v4/letter/l/d6d6ee/32.png) [@lsantos](https://community.dynatrace.com/u/lsantos)\
**Post date:** [June 9, 2025, 4:07pm UTC](https://community.dynatrace.com/t/how-to-create-browser-monitor-that-does-not-ignore-certificate-errors/41256/6 "2025-06-09T16:07:35Z")

</div>

Hello everyone,

I’m in need for such feature (i.e. I want the synthetic to fail if there are any certificate issues).

I’ve added the suggested flag but the synthetic is still not failing even tough there are certificate issues…

Anyone had success with this setup?

Thanks 🙂

---

<div class="post-metadata">

**Author:** ![hannahmac](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/hannahmac/32/41823_2.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [June 16, 2025, 12:55pm UTC](https://community.dynatrace.com/t/how-to-create-browser-monitor-that-does-not-ignore-certificate-errors/41256/7 "2025-06-16T12:55:51Z")

</div>

[@lsantos](https://community.dynatrace.com/user/83300), thanks for letting us know. Did you resolve this issue? Changing the flag works for me.&nbsp;If this behavior is still seen for your monitor, can you create a support ticket for us to investigate? Thanks

---

<div class="post-metadata">

**Author:** ![AlanZ](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/alanz/32/29676_2.png) [@AlanZ](https://community.dynatrace.com/u/AlanZ)\
**Post date:** [March 26, 2026, 5:38pm UTC](https://community.dynatrace.com/t/how-to-create-browser-monitor-that-does-not-ignore-certificate-errors/41256/8 "2026-03-26T17:38:02Z")

</div>

Hi,

We would like this to be the default for all browser monitors (new and existing). Is there a setting which would modify the default behavior so certificates are always validated for all our environment browser monitors unless otherwise specified ?

---

<div class="post-metadata">

**Author:** ![hannahmac](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/hannahmac/32/41823_2.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [April 14, 2026, 10:24am UTC](https://community.dynatrace.com/t/how-to-create-browser-monitor-that-does-not-ignore-certificate-errors/41256/9 "2026-04-14T10:24:26Z")

</div>

Hi Alan, unfortunately not, but it’s a great idea. I recommend you add it [here](https://community.dynatrace.com/category/DynatraceProductIdeas)

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [April 14, 2026, 8:10pm UTC](https://community.dynatrace.com/t/how-to-create-browser-monitor-that-does-not-ignore-certificate-errors/41256/10 "2026-04-14T20:10:26Z")

</div>

I disagree with this behaviour. Certificate validity must be checked by default, with the option of supplying your own list of CA certificates.  
Disabling certificate validation must be an opt-in, not the other way around. When users create synthetic tests, they expect the test to behave exactly as it does in their real browser.

This is especially critical since the current option to turn off ignoring the errors is hidden and not exposed to the user in contrast to HTTP monitors.
