PKI Proxy Authentication With JDBC Fails with OAUTH-Marshalling-Error

(Doc ID 2333143.1)

Last updated on NOVEMBER 30, 2017

Applies to:

JDBC - Version 11.1.0.7 and later
Information in this document applies to any platform.

Symptoms

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:
imported the database server certificate 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 user PKIPROXY to the database.
Invoking the program with the user REALUSER results in an SQLException "OAUTH-Marshalling-Error".

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms