Cannot connect to Oracle 19c througth TLS #490
Closed
Weiyi-Chung
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Environment
oracledb
3.1 on macOS(same issue reproduced on Ubuntu 22.04)
Goal
Configure one‑way TLS (TCPS port 2484) so that the Python client
verifies the server certificate issued from the DB wallet.
What I did on the server
What I did on the client side
I copy the wallet from server side cuz my client side don't have oracle env
Python test script
Error MSG
Try TCP connection
work if I port-forward 1521 and use TCP connection
OpenSSL Test
I tested the TLS connection with OpenSSL, and it appears to verify and connect successfully:
openssl s_client -connect adb19cfree-oracle-db-0:2484 -CAfile ~/ewallet.pem
Packet Capture
I used Wireshark to troubleshoot the issue and saw that the TLS handshake fails during the Client Key Exchange phase. I’m not sure what this implies—do I need to specify a particular cipher suite?

Question
listener.ora
/sqlnet.ora
for one‑way TLS?oracledb
?ewallet.p12
→ewallet.pem
the right approach for oracledb?Beta Was this translation helpful? Give feedback.
All reactions