Understand how to create two seperate connections with seperate TNS_ADMIN, sqlnet.ora in same process #1730
-
Task: Setup: Issue: Could you please assist with this issue or provide insights on how to ensure that the connection configuration is updated correctly when switching between encrypted and unencrypted connections? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Normally we keep 2 alias in Ex:
Application can pass alias in Does this help in your case? |
Beta Was this translation helpful? Give feedback.
-
The changes in
Please see NNE is only for thick mode. So |
Beta Was this translation helpful? Give feedback.
-
Thanks I was able to make encryption optional in sqlnet.ora by mentioning encryption as ACCEPTED and defined actual REQUIRED implementation in encrypted alias tnsnames.ora. I was able to segregate unencrypted vs encryption connections. |
Beta Was this translation helpful? Give feedback.
The changes in
sqlnet.ora
(inside $TNS_ADMIN) for NNE TCPS connections still need to be present. Within an application, some connections can use TCP while others use TCPS, and combining them should not be an issue.Please see NNE is only for thick mode. So
initOracleClient
call needs to be present in application.