weblogic.security.internal.encryption.EncryptionServiceException: [Security:090219]Error decrypting Secret Key java.lang.SecurityExcep (Doc ID 1371261.1)

Last updated on AUGUST 08, 2017

Applies to:

Oracle WebLogic Server - Version 10.3.4 and later
Information in this document applies to any platform.
***Checked for relevance on 3-Jun-2016***

Symptoms

When upgrading the WebLogic Server domain from 10.0 MP1 to 10.3.4 (JDK from 1.5 to 1.6), on the client system, when attempting to use the already in-place ANT tasks and scripts which were created using the WLS 10.0 MP1 domain, the wldeploy task fails with below error message:

weblogic.security.internal.encryption.EncryptionServiceException: [Security:090219]Error decrypting Secret Key java.lang.SecurityException: The provider self-integrity check failed
weblogic.security.internal.encryption.EncryptionServiceException: [Security:090219]Error decrypting Secret Key java.lang.SecurityException: Crypto-J is disabled, a self-integrity check failed.
[wldeploy] at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.<init>(JSafeEncryptionServiceImpl.java:341)
[wldeploy] at weblogic.security.internal.encryption.JSafeEncryptionServiceFactory.getEncryptionService(JSafeEncryptionServiceFactory.java:48)
[wldeploy] at weblogic.security.UserConfigFileManager.initEncryptionRead(UserConfigFileManager.java:689)
[wldeploy] at weblogic.security.UserConfigFileManager.getUsernameAndPassword(UserConfigFileManager.java:171)
[wldeploy] at weblogic.deploy.utils.MBeanHomeTool.processUsernameAndPassword(MBeanHomeTool.java:411)
...
...
[wldeploy] Caused by: weblogic.security.internal.encryption.EncryptionServiceException: weblogic.security.internal.encryption.EncryptionServiceException: [Security:090219]Error decrypting Secret Key java.lang.SecurityException: Crypto-J is disabled, a self-integrity check failed.
[wldeploy] at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.createCiphers(JSafeEncryptionServiceImpl.java:420)
[wldeploy] at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.create3DESKeyContext(JSafeEncryptionServiceImpl.java:359)
[wldeploy] at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.<init>(JSafeEncryptionServiceImpl.java:331)
[wldeploy] ... 95 more
[wldeploy] Caused by: weblogic.security.internal.encryption.EncryptionServiceException: [Security:090219]Error decrypting Secret Key java.lang.SecurityException: Crypto-J is disabled, a self-integrity check failed.
[wldeploy] at weblogic.security.internal.encryption.JSafeSecretKeyEncryptor.decryptSecretKey(JSafeSecretKeyEncryptor.java:116)
[wldeploy] at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.createCiphers(JSafeEncryptionServiceImpl.java:395)

 

Changes

 

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