My Oracle Support Banner

Business Service Fails With "The invocation resulted in an error: Could not parse key values" (Doc ID 2161537.1)

Last updated on MAY 16, 2023

Applies to:

Oracle Service Bus - Version 11.1.1.6.0 to 11.1.1.7.0 [Release 11g]
Information in this document applies to any platform.

Symptoms

When invoking a Business Service that connects to an HTTPS endpoint, the following error might be seen:

After enabling SSL Debugging, the stacktrace below is seen in the logs:

java.lang.RuntimeException: Could not parse key values
     at com.sun.net.ssl.internal.ssl.Handshaker.checkThrown(Handshaker.java:1012)
     at com.sun.net.ssl.internal.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:485)
     at com.sun.net.ssl.internal.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:753)
Caused By: java.lang.RuntimeException: Could not parse key values
     at sun.security.pkcs11.P11Key$P11ECPublicKey.fetchValues(P11Key.java:1000)
     at sun.security.pkcs11.P11Key$P11ECPublicKey.getW(P11Key.java:1022)
     at com.sun.net.ssl.internal.ssl.ECDHClientKeyExchange.<init>(ECDHClientKeyExchange.java:40)
Caused By: java.io.IOException: DerInputStream.getLength(): lengthTag=98, too big.
     at sun.security.util.DerInputStream.getLength(DerInputStream.java:544)
     at sun.security.util.DerValue.init(DerValue.java:347)
     at sun.security.util.DerValue.<init>(DerValue.java:277)

 

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
Cause
Solution


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