Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

ODP.NET Managed 23.7.0 – Fails with ORA-00542 on TCPS (but SQL*Plus works fine)

I am running into persistent ORA-00542 handshake failures when connecting to AWS RDS (Oracle) using Oracle.ManagedDataAccess 23.7.0 with TCPS.

TLS handshake completes (verified via trace and NetMon)
SQL*Plus and SQL Developer can connect using same wallet and sqlnet.ora
Unmanaged ODP.NET driver works fine using TCPS
ODP.NET Managed fails with ORA-00542: SSL Handshake failed

Things I've tried:
Clean wallet with only RDS root/intermediate CAs
Dummy user cert (2048-bit and 4096 self-signed) → rejected by server
Disabling SSL_CLIENT_AUTHENTICATION
Explicit wallet path via sqlnet.ora and TNS_ADMIN
Multiple versions of sqlnet.ora (with and without checksum/encryption options)
Has anyone gotten ODP.NET Managed to work with password-only TCPS on RDS?
Is this a known limitation where the Managed driver always expects a valid user cert?

Comments

Post Details

Added 5 days ago
12 comments
47 views