My Oracle Support Banner

OKV 18.1 RESTFul API Get_secret Error (Doc ID 2611633.1)

Last updated on JANUARY 07, 2020

Applies to:

Oracle Key Vault - Version 18.1.0.0 and later
Information in this document applies to any platform.

Symptoms

java -jar okv_cluster.jar kmip -c ./HOME/TEST/conf/okvclient.ora -s get_secret -u DB31B568-A82B-4FBD-BFB7-7F2279435CDD
Enter Oracle Key Vault endpoint password:
Exception in thread "main" javax.ws.rs.ProcessingException: Already connected
  at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:234)
  at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:655)
  at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:652)
  at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
  at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
  at org.glassfish.jersey.internal.Errors.process(Errors.java:228)
  at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:423)
  at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:652)
  at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:412)
  at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:321)
  at com.oracle.okv.cloud.client.sdk.KMIPInvocator.postMultivaluedMap(KMIPInvocator.java:111)
  at com.oracle.okv.cloud.client.sdk.KMIPRESTfulAPI.getSecret(KMIPRESTfulAPI.java:313)
  at com.oracle.okv.cloud.client.sdk.KeyManagementAPI.getSecret(KeyManagementAPI.java:328)
  at com.oracle.okv.cloud.client.KMIPRestClient.processService(KMIPRestClient.java:196)
  at com.oracle.okv.cloud.client.KMIPRestClient.serviceProcesor(KMIPRestClient.java:125)
  at com.oracle.okv.cloud.client.KMIPRestClient.exec(KMIPRestClient.java:106)
  at com.oracle.okv.cloud.client.Launcher.main(Launcher.java:80)
Caused by: java.lang.IllegalStateException: Already connected
  at sun.net.www.protocol.http.HttpURLConnection.setRequestProperty(HttpURLConnection.java:3134)
  at com.ibm.net.ssl.www2.protocol.https.b.setRequestProperty(b.java:76)
  at org.gl

Caused by: javax.net.ssl.SSLException: java.lang.ClassCastException:
com.ibm.jsse2.k incompatible with com.ibm.jsse2.l
  at com.ibm.jsse2.j.a(j.java:44)
  at com.ibm.jsse2.as.a(as.java:447)
  at com.ibm.jsse2.as.a(as.java:606)
  at com.ibm.jsse2.as.a(as.java:408)
  at com.ibm.jsse2.as.a(as.java:585)
  at com.ibm.jsse2.e.read(e.java:22)
  at java.io.BufferedInputStream.fill(BufferedInputStream.java:257)
  at java.io.BufferedInputStream.read1(BufferedInputStream.java:297)
  at java.io.BufferedInputStream.read(BufferedInputStream.java:356)
  at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:734)
  at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678)

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
References


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