# Oracle Wallet Authentication for Custom SQL Extensions

**URL:** <https://community.dynatrace.com/t/oracle-wallet-authentication-for-custom-sql-extensions/54533>\
**Category:** Extensions\
**Tags:** databases, oracle, extensions\
**Created:** [January 6, 2026, 9:07am UTC](https://community.dynatrace.com/t/oracle-wallet-authentication-for-custom-sql-extensions/54533 "2026-01-06T09:07:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jegron](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jegron/32/12797_2.png) [@jegron](https://community.dynatrace.com/u/jegron)\
**Post date:** [January 6, 2026, 9:07am UTC](https://community.dynatrace.com/t/oracle-wallet-authentication-for-custom-sql-extensions/54533/1 "2026-01-06T09:07:15Z")

</div>

Hi!

We would like to execute Oracle queries using a custom SQL extension. We must connect using an **Oracle Wallet**.

Do you know of any workaround or supported approach to use this authentication method with custom SQL extensions?

---

<div class="post-metadata">

**Author:** ![SofiaPersia](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/sofiapersia/32/22940_2.png) [@SofiaPersia](https://community.dynatrace.com/u/SofiaPersia)\
**Post date:** [January 13, 2026, 12:16pm UTC](https://community.dynatrace.com/t/oracle-wallet-authentication-for-custom-sql-extensions/54533/2 "2026-01-13T12:16:45Z")

</div>

Hi there!&nbsp;😊

To use the **Cloud Wallet** for connecting to an **Oracle Autonomous Database** , I used the following approach:  
In the configuration (I’m attaching a screenshot), I used a connection string and intentionally omitted the Cloud Wallet section, which is configured later.

On the ActiveGate side, it was necessary to grant **read permissions** to my dtuser on the directory that contains the Cloud Wallet ZIP file.

Inside the ZIP file, in the tnsnames.ora file, make sure the following entry is present:

(SECURITY =  
(MY\_WALLET\_DIRECTORY = \<custompath/walletcloudfolder\>)  
(SSL\_VERSION = 1.2)  
(SSL\_CLIENT\_AUTHENTICATION = FALSE)  
(ssl\_server\_dn\_match = no)  
)

At the ActiveGate service level, I ran the following command:

```cpp
systemctl edit --full dynatracegateway.service

```

and added this environment variable, pointing to the directory where the Cloud Wallet ZIP file is stored:  
Environment=“TNS\_ADMIN=\<custompath\>/walletcloudfolder”

After that, I executed:

```cpp
sudo systemctl daemon-reexec # reload systemd
sudo systemctl restart dynatracegateway.service

```

PS: Make sure that the MY\_WALLET\_DIRECTORY path matches exactly the path configured in TNS\_ADMIN

Hope this was helpful.  
Regards,

 ![configuration_oracle_ext.png](https://global.discourse-cdn.com/dynatrace/original/3X/a/4/a4729bfcef444b28151f515df8462e74fa1fa594.png)

---

<div class="post-metadata">

**Author:** ![Yann\_Buccellato](https://avatars.discourse-cdn.com/v4/letter/y/97f17d/32.png) [@Yann\_Buccellato](https://community.dynatrace.com/u/Yann_Buccellato)\
**Post date:** [January 13, 2026, 12:28pm UTC](https://community.dynatrace.com/t/oracle-wallet-authentication-for-custom-sql-extensions/54533/3 "2026-01-13T12:28:03Z")

</div>

Phenomenal!

---

<div class="post-metadata">

**Author:** ![jegron](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jegron/32/12797_2.png) [@jegron](https://community.dynatrace.com/u/jegron)\
**Post date:** [January 13, 2026, 1:09pm UTC](https://community.dynatrace.com/t/oracle-wallet-authentication-for-custom-sql-extensions/54533/4 "2026-01-13T13:09:14Z")

</div>

Awesome ! I’ll try your trick as soon as possible&nbsp;:dynaspin:
