PKI Proxy Authentication With JDBC Fails with OAUTH-Marshalling-Error
(Doc ID 2333143.1)
Last updated on MARCH 12, 2021
Applies to:JDBC - Version 126.96.36.199 and later
Information in this document applies to any platform.
When trying to use PKI Proxy Authentication with a JDBC application, a SQLException OAUTH-Marshalling-Error is received.
The following steps have been followed:
1) Set up SSL authentication for both the database and the client to be used with SQL*Plus.
The database server certificate is imported into the client wallet and vice versa.
This configuration was tested with SQL*Plus:
2) With the Java program based on the Oracle whitepaper "wp-oracle-jdbc-thin-ssl-130128.pdf", the Java properties are set as indicated for "use case #4" (SSL authentication of both tiers)" .
Invoking just the basic use case #4, the Java program successfully authenticates the proxy user <USER2> to the database.
Invoking the program with the current user (in this case <USER1>) results in an SQLException "OAUTH-Marshalling-Error".
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document