Replies: 1 comment 1 reply
-
Thin mode currently only allows user/password authentication. No form of external authentication is currently supported -- which seems to be what you are attempting? I am not familiar with "certificate based authentication" but suspect that is a form of external authentication. You'll need to create an enhancement request for this to be used in thin mode. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to get mTLS working (with a proxy-user, actually) with thin mode to an Oracle 19c database. I'm using 1.3.0 with the following code
Somehow I don't understand the part where I instruct the thin driver to use the private key contained in /var/tmp/oracleconfig/ewallet.pem. I would have expected that I don't need to specify the password= parameter, but when I set it to None, I immediately get "DPY-4001: no credentials specified".
When I specify it as empty string, the connection bascially seems to work. The TLS handshake succeeds but as far as I can tell, no client certificate is being sent. I get the error
DatabaseError: ORA-28272: Domain policy restricts password based GLOBAL user authentication
Which makes sense, because the GLOBAL user 'CERTOWNER' is configured to only allow certificate based authentication.
My ewallet.pem contains all needed CA certificates to verify the server cert, plus the certifcate and private key (unencrypted - hence I don't set a wallet_password).
I think I'm missing some simple but important piece, but I couldn't find any pointer in the documentation or the code
Many thanks in advance for your support!
CU, Joe
Beta Was this translation helpful? Give feedback.
All reactions