My Oracle Support Banner

Loopback Connection is Failing, Getting Error "Encrypter: Invalid KeySpec nested exception is: java.security.spec.InvalidKeySpecException: java.security.InvalidKeyException" (Doc ID 2526245.1)

Last updated on DECEMBER 03, 2019

Applies to:

Oracle AutoVue Electro-Mechanical Professional - Version 21.0.2 and later
Information in this document applies to any platform.

Symptoms

Loopback connection is failing in AutoVue 21.0.2 with below errors in AutoVue server log

Error

java.io.IOException: Failed to encrypt DMS Authorization tag contents. Encrypter: Invalid KeySpec nested exception is: java.security.spec.InvalidKeySpecException: java.security.InvalidKeyException: Invalid EC key at sun.security.ec.ECKeyFactory.engineGeneratePublic(ECKeyFactory.java:157) at java.security.KeyFactory.generatePublic(Unknown Source) at com.cimmetry.util.Encrypter.a(Unknown Source) at com.cimmetry.util.Encrypter.encrypt(Unknown Source) at com.cimmetry.dms.XMLUtil.encryptXml(Unknown Source) at com.cimmetry.dms.XMLUtil.writeElementNode(Unknown Source) at ..

Steps

The issue can be reproduced at will with the following steps:

  1. Install AutoVue 21.0.2
  2. Install and configure Oracle AutoVue Integration SDK (ISDK), and develop project and integrate with DMS
  3. Open file from AutoVue client

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.