# How to avoid the Synthetic Browser monitor Error Code 12049 "ERR\_SSL\_CLIENT\_AUTH\_CERT\_NEEDED"

**URL:** <https://community.dynatrace.com/t/how-to-avoid-the-synthetic-browser-monitor-error-code-12049-err-ssl-client-auth-cert-needed/49654>\
**Category:** Troubleshooting\
**Tags:** browser-monitors, synthetic-monitoring\
**Created:** [January 10, 2025, 2:00pm UTC](https://community.dynatrace.com/t/how-to-avoid-the-synthetic-browser-monitor-error-code-12049-err-ssl-client-auth-cert-needed/49654 "2025-01-10T14:00:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mareeswaran](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@Mareeswaran](https://community.dynatrace.com/u/Mareeswaran)\
**Post date:** [January 10, 2025, 2:00pm UTC](https://community.dynatrace.com/t/how-to-avoid-the-synthetic-browser-monitor-error-code-12049-err-ssl-client-auth-cert-needed/49654/1 "2025-01-10T14:00:00Z")

</div>

## Self Service Summary

Some websites initially respond with an error that they need a client certificate, however, a second request to the page is successful. In these cases, Native Chrome intially sees the error “ERR\_SSL\_CLIENT\_AUTH\_CERT\_NEEDED” but retries and is then able to successfully reach the site.

Dynatrace Synthetic Browser Monitors stop the execution as soon as the initial error “ERR\_SSL\_CLIENT\_AUTH\_CERT\_NEEDED” is received.

| Issue | Solution | Tasks | Alternative(s) |
| --- | --- | --- | --- |
| Browser Monitor fails with&nbsp;ERR\_SSL\_CLIENT\_AUTH\_CERT\_NEEDED | Add script to retry | Add script to retry | Add client certificate |

## Steps to avoid&nbsp;Error Code 12049 “ERR\_SSL\_CLIENT\_AUTH\_CERT\_NEEDED”

1. Open the Browser Monitor for editing, using [Classic Synthetic](https://docs.dynatrace.com/docs/observe/digital-experience/synthetic-monitoring/browser-monitors/configure-browser-monitors#configure-an-existing-browser-monitor)

2. Click on Recorded Clickpath

3. Add a JavaScript event, using&nbsp;**[Add synthetic event](https://docs.dynatrace.com/docs/platform-modules/digital-experience/synthetic-monitoring/browser-monitors/configure-browser-monitors#recorded-clickpath)**&nbsp;and move this step as first event

4. Add the sample JavaScript code below and replace the url which is reporting “ERR\_SSL\_CLIENT\_AUTH\_CERT\_NEEDED”

5. The next event in the clickpath, should be a Navigate Event to the same url

## What’s next?

It may be that you need to provide the client-side certificate. In this case, you can add it to the Dynatrace Synthetic Browser Monitor [here](https://docs.dynatrace.com/docs/observe/digital-experience/synthetic-monitoring/browser-monitors/configure-browser-monitors#certificate-authentication)

Otherwise, please open a chat or support ticket and provide a link to the Dynatrace Synthetic Browser Monitor, along with the troubleshooting steps you have already tried.

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [January 10, 2025, 3:23pm UTC](https://community.dynatrace.com/t/how-to-avoid-the-synthetic-browser-monitor-error-code-12049-err-ssl-client-auth-cert-needed/49654/2 "2025-01-10T15:23:19Z")

</div>

Thank you!&nbsp;:money\_mouth\_face:
