# Query Regarding Enabling SSL Pinning and Certificate Rotation in Dynatrace OneAgent SDK

**URL:** <https://community.dynatrace.com/t/query-regarding-enabling-ssl-pinning-and-certificate-rotation-in-dynatrace-oneagent-sdk/52278>\
**Category:** Dynatrace Managed\
**Tags:** dynatrace-managed, oneagent-sdk\
**Created:** [June 30, 2025, 6:15am UTC](https://community.dynatrace.com/t/query-regarding-enabling-ssl-pinning-and-certificate-rotation-in-dynatrace-oneagent-sdk/52278 "2025-06-30T06:15:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PoojaPandit](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@PoojaPandit](https://community.dynatrace.com/u/PoojaPandit)\
**Post date:** [June 30, 2025, 6:15am UTC](https://community.dynatrace.com/t/query-regarding-enabling-ssl-pinning-and-certificate-rotation-in-dynatrace-oneagent-sdk/52278/1 "2025-06-30T06:15:44Z")

</div>

Hi [@team](https://community.dynatrace.com/user/8575),

Could you please help me with a query regarding the Dynatrace OneAgent SDK?

We would like to understand how **SSL pinning** can be enabled along with **SSL certificate rotation** in the OneAgent SDK. Specifically:

- Is SSL pinning handled internally by the OneAgent SDK?
- If yes, is certificate rotation also supported automatically?
- If not, what steps are required from the application side to enable these securely?
- Are there any official documentation links or implementation guidelines available?

Looking forward to your support on this.

Thanks & Regards,  
Pooja Pandit

---

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [July 2, 2025, 11:09am UTC](https://community.dynatrace.com/t/query-regarding-enabling-ssl-pinning-and-certificate-rotation-in-dynatrace-oneagent-sdk/52278/2 "2025-07-02T11:09:55Z")

</div>

Hi&nbsp;[@PoojaPandit](https://community.dynatrace.com/user/81213)

In my opinion:

- SSL pinning is not handled automatically by the OneAgent SDK and must be configured manually using Androi Network Security Configuration or Info.plist on iOS.
- Certificate rotation is not supported automatically, so pinned certificates must be manually updated in the app.
- The application must implement platform-specific SSL pinning (network\_security\_config.xml or DTXPublicKeyPins) and update these settings when certificates change.

Radek
