Reports Server 12c Failing to Start When Using Java Cryptography Extension (JCE) (Doc ID 2233555.1)

Last updated on FEBRUARY 14, 2017

Applies to:

Oracle Reports Developer - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

Trying to start a reports server when using Java Cryptography Extension (JCE), fails with the following errors.

WARNING: Opening of file based keystore failed. Reason :
oracle.security.jps.service.keystore.KeyStoreServiceException: Failed to perform cryptographic operation
at oracle.security.jps.internal.keystore.util.CryptoUtil.decrypt(CryptoUtil.java:504)
at oracle.security.jps.internal.keystore.util.CryptoUtil.decodeAliasWithEncryptedContent(CryptoUtil.java:586)
at oracle.security.jps.internal.keystore.util.CryptoUtil.decryptPrivateKey(CryptoUtil.java:766)
at oracle.security.jps.internal.keystore.config.jaxb.adapters.PrivateKeyAdapter.unmarshal(PrivateKeyAdapter.java:63)
at oracle.security.jps.internal.keystore.config.jaxb.KeyPair.retrievePrivateKey(KeyPair.java:105)
at oracle.security.jps.internal.keystore.util.KeyStoreServiceUtil.getDemoCAKey(KeyStoreServiceUtil.java:641)
at oracle.security.jps.internal.keystore.util.KeyStoreServiceUtil.getDemoCAKey(KeyStoreServiceUtil.java:613)
at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.openKeyStore(FileKeyStoreManager.java:451)
at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.openKeyStore(FileKeyStoreManager.java:403)
at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.doInit(FileKeyStoreServiceImpl.java:144)
at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.start(FileKeyStoreServiceImpl.java:969)
at oracle.security.opss.internal.runtime.ServiceContextImpl.start(ServiceContextImpl.java:218)
at oracle.security.opss.internal.runtime.ServiceContextManagerImpl.createContext(ServiceContextManagerImpl.java:600)
at oracle.security.opss.internal.runtime.ServiceContextManagerImpl.initBootstrap(ServiceContextManagerImpl.java:173)
at oracle.security.opss.internal.runtime.ServiceContextManagerImpl.initBootstrap(ServiceContextManagerImpl.java:153)
at oracle.security.jps.internal.config.OpssCommonStartup$3.run(OpssCommonStartup.java:315)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.internal.config.OpssCommonStartup.preStart(OpssCommonStartup.java:268)
at oracle.security.jps.JpsStartup.preStart(JpsStartup.java:286)
at oracle.security.jps.JpsStartup.start(JpsStartup.java:210)
at oracle.reports.server.RWServer.initSecuritySettings(RWServer.java:1312)
at oracle.reports.server.RWServer.startServer(RWServer.java:601)
at oracle.reports.server.RWServer.jniMain(RWServer.java:289)
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:481)
... 22 more

 

 

Changes

 New Reports 12c installation with Java Cryptography Extension (JCE).

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms