My Oracle Support Banner

Issues Connecting to a Remote ODI 12.2.1.3.1 DIPC-C Repository from On-Premise Windows (Doc ID 2479202.1)

Last updated on APRIL 21, 2021

Applies to:

Data Integration Platform Cloud Classic - Version 18.3.3 and later
Information in this document applies to any platform.

Symptoms

This knowledge article reflects updated product names. Data Integration Platform Cloud (DIPC) was formerly known as Autonomous Data Integration Platform Cloud (ADIPC). Data Integration Platform Cloud Classic (DIPC Classic or DIPC-C) was formerly known as Data Integration Platform Cloud (DIPC). Please see KM <document 2493395.1> for the full list of recently renamed PaaS services.

 

As prerequisite for connecting to an Oracle Data Integrator (ODI) 12.2.1.3.1 Data Integration Platform Cloud Classic (DIPC-C) Instance, ODI 12.2.1.3.0 Enterprise must be installed on the Windows machine, and then <Patch 27554405> must be applied.  This was done, and the mandatory post-installation instructions described in the README from the patch folder were performed.

Afterward, an attempt is made to connect to an ODI 12.2.1.3.1 DIPC-C Instance using the steps mentioned in the below documentation.

Connecting ODI Studio to Oracle Data Integration Platform Cloud
https://www.oracle.com/webfolder/technetwork/tutorials/obe/cloud/dipc/Connect_ODIStudio_to_DIPC/index.html

The following error is raised in ODI Studio Login Window:

oracle.security.jps.JpsException: oracle.security.jps.service.keystore.KeyStoreServiceException: Failed to perform cryptographic operation, stackTrace is:javax.security.auth.login.LoginException: oracle.security.jps.JpsException: oracle.security.jps.service.keystore.KeyStoreServiceException: Failed to perform cryptographic operation[[
   at oracle.security.jps.internal.jaas.module.authentication.JpsUserAuthenticationLoginModule.login(JpsUserAuthenticationLoginModule.java:82)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
...
Caused by: oracle.security.jps.internal.jaas.module.AuthenticationException: oracle.security.jps.JpsException: oracle.security.jps.service.keystore.KeyStoreServiceException: Failed to perform cryptographic operation
   at oracle.security.jps.internal.jaas.module.authentication.JpsUserAuthenticator.authenticate(JpsUserAuthenticator.java:67)
   at oracle.security.jps.internal.jaas.module.authentication.JpsUserAuthenticationLoginModule.login(JpsUserAuthenticationLoginModule.java:73)
... 16 more
Caused by: oracle.security.jps.JpsException: oracle.security.jps.service.keystore.KeyStoreServiceException: Failed to perform cryptographic operation
   at oracle.security.jps.internal.config.OpssCommonStartup.preStart(OpssCommonStartup.java:418)
   at oracle.security.jps.JpsStartup.preStart(JpsStartup.java:358)
...
   at oracle.security.jps.internal.jaas.module.authentication.JpsUserAuthenticator.authenticate(JpsUserAuthenticator.java:58)
... 17 more
Caused by: oracle.security.jps.service.keystore.KeyStoreServiceException: Failed to perform cryptographic operation
   at oracle.security.jps.internal.keystore.util.CryptoUtil.decrypt(CryptoUtil.java:614)
   at oracle.security.jps.internal.keystore.util.CryptoUtil.decodeAliasWithEncryptedContent(CryptoUtil.java:696)
...
   at oracle.security.opss.internal.runtime.ServiceContextManagerImpl.createContext(ServiceContextManagerImpl.java:615)
... 23 more
Caused by: java.security.InvalidKeyException: Illegal key size
   at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
   at javax.crypto.Cipher.implInit(Cipher.java:805)
   at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
   at javax.crypto.Cipher.init(Cipher.java:1396)
   at javax.crypto.Cipher.init(Cipher.java:1327)
   at oracle.security.jps.internal.keystore.util.CryptoUtil.decrypt(CryptoUtil.java:591)
... 41 more

After trying to fix this error by updating $JAVA_HOME/jre/lib/security/ on the Windows machine with new JCE jars as explained in <Document 2315791.1>, a new error occurs when attempting to connect:

oracle.security.jps.JpsException: oracle.security.jps.service.keystore.KeyStoreServiceException: Failed to perform cryptographic operation
   at oracle.security.jps.internal.config.OpssCommonStartup.preStart(OpssCommonStartup.java:418)
   at oracle.security.jps.JpsStartup.preStart(JpsStartup.java:358)
 ...
   at java.lang.Thread.run(Thread.java:748)
Caused by: oracle.security.jps.service.keystore.KeyStoreServiceException: Failed to perform cryptographic operation
   at oracle.security.jps.internal.keystore.util.CryptoUtil.decrypt(CryptoUtil.java:619)
   at oracle.security.jps.internal.keystore.util.CryptoUtil.decodeAliasWithEncryptedContent(CryptoUtil.java:696)
...
   at java.security.AccessController.doPrivileged(Native Method)
   at oracle.security.jps.internal.config.OpssCommonStartup.preStart(OpssCommonStartup.java:352)
... 8 more
Caused by: javax.crypto.BadPaddingException: Given final block not properly padded
   at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:989)
   at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:845)
   at com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:446)
   at javax.crypto.Cipher.doFinal(Cipher.java:2165)
   at oracle.security.jps.internal.keystore.util.CryptoUtil.decrypt(CryptoUtil.java:592)
... 26 more

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.