My Oracle Support Banner

PKI Proxy Authentication With JDBC Fails with OAUTH-Marshalling-Error (Doc ID 2333143.1)

Last updated on AUGUST 30, 2023

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.
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 technical brief SSL With Oracle JDBC Thin Driver, 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".

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.