# Is shared ActiveGates between OneAgent in vm and OneAgent in container valid?

**URL:** <https://community.dynatrace.com/t/is-shared-activegates-between-oneagent-in-vm-and-oneagent-in-container-valid/53366>\
**Category:** Container platforms\
**Tags:** openshift, dynatrace-operator, kubernetes\
**Created:** [September 16, 2025, 10:07am UTC](https://community.dynatrace.com/t/is-shared-activegates-between-oneagent-in-vm-and-oneagent-in-container-valid/53366 "2025-09-16T10:07:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![prgss](https://avatars.discourse-cdn.com/v4/letter/p/97f17d/32.png) [@prgss](https://community.dynatrace.com/u/prgss)\
**Post date:** [September 16, 2025, 10:07am UTC](https://community.dynatrace.com/t/is-shared-activegates-between-oneagent-in-vm-and-oneagent-in-container-valid/53366/1 "2025-09-16T10:07:08Z")

</div>

Hi Dynatrace,

We have trouble deploying CloudNative Dynatrace in OpenShift clusters.  
Can you confirm us that these “hybrid” architecture is valid ?

 ![dynatrace-noname.png](https://global.discourse-cdn.com/dynatrace/original/3X/f/e/fecf364aff7236e0a75818887c5f866c42a8589f.png)

- Install CloudNative Dynatrace in OpenShift clusters with Company trustedCA in Dynakube

- Private docker registry holding OneAgent and codemodules images exposing the Company certificate (green box on the left)

- ActiveGate VM with Dynatrace self signed Certificate (purple box)

- Company Internet Proxy (no certificate)

- Notice that we have many oneagent deployed in virtual machine. These oneagents trust the ActiveGate VM Certificate.

- We don’t want to change the exposed certificate of ActiveGate.

When we add the trustedCAs field in the dynakube configuration, the communication between oneagent pod and activegate vm are broken (invalid certificate).

 ![broken-cert.png](https://global.discourse-cdn.com/dynatrace/original/3X/c/6/c673871d46a4740fa491f5aa1ee856a6083bc5cc.png)

---

<div class="post-metadata">

**Author:** ![michiel\_otten](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/michiel_otten/32/21987_2.png) [@michiel\_otten](https://community.dynatrace.com/u/michiel_otten)\
**Post date:** [September 16, 2025, 11:13am UTC](https://community.dynatrace.com/t/is-shared-activegates-between-oneagent-in-vm-and-oneagent-in-container-valid/53366/2 "2025-09-16T11:13:09Z")

</div>

In my opinion, the problem is that when you configure a&nbsp;trustedCA&nbsp;in Kubernetes, it will use it for all outgoing communication. Now: when the OneAgents want to sent out that information, it’ll mismatch with the self-signed one.  
You could potentially test this to add it to 1 of the Environment ActiveGate and put that one in a network zone.

if this doesn’t help, I’d recommend getting Dynatrace support onboard to figure out what the best solution for you is.

 ![michiel_otten_0-1758021178503.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/6/b65c5fbe42ea66c81b66507599b894fe48acaa60.png)

---

<div class="post-metadata">

**Author:** ![prgss](https://avatars.discourse-cdn.com/v4/letter/p/97f17d/32.png) [@prgss](https://community.dynatrace.com/u/prgss)\
**Post date:** [September 19, 2025, 12:23pm UTC](https://community.dynatrace.com/t/is-shared-activegates-between-oneagent-in-vm-and-oneagent-in-container-valid/53366/3 "2025-09-19T12:23:43Z")

</div>

Thank your for your reply&nbsp;[@michiel\_otten](https://community.dynatrace.com/user/4669)

It’s indeed the error we are getting.

Here is the solution we chose to avoid to change the shared ActiveGate’s certificates.

- We choose to **not** ignore the certificate.
- We inject the trustedCAs to authorize the communication between CSI and Docker Registry to download code module.
- We add 2 env var to oneagent to ignore the self signed certificate

```markup
apiVersion: dynatrace.com/v1beta5
kind: DynaKube
spec:
  skipCertCheck: false
  trustedCAs: companyCA
  oneAgent:
    cloudNativeFullStack:
      env:
        - name: DT_SSLVERIFYHOST
          value: "false"
        - name: DT_SSLVERIFYPEER
          value: "false"

```

Could be usefull for people in the same shared ActiveGate configuration.  
&nbsp;  
I found this workaround here :&nbsp;[https://community.dynatrace.com/t5/Heads-up-from-Dynatrace/Resolved-OneAgent-pods-unable-to-validate-SSL-cert-of/ta-p/255723](https://community.dynatrace.com/topic/255723)
