Error finalising cipher
search cancel

Error finalising cipher

book

Article ID: 224636

calendar_today

Updated On:

Products

CA Identity Manager

Issue/Introduction

Getting the following error

2021-09-21 19:47:44,781 DEBUG [ims.jdbc.JDBCManagedObjectProvider] (ServerService Thread Pool -- 135) SELECT "PASSWORDS"."UNIQUE_NAME", "ENVOID", "ENCRYPTEDPASSWORD" FROM "PASSWORDS" WHERE ({ fn LCASE ("ENVOID") }='1') ORDER BY "UNIQUE_NAME"  DESC
2021-09-21 19:47:44,781 DEBUG [ims.jdbc.JDBCManagedObjectProvider] (ServerService Thread Pool -- 135) Is scroll insensitive result set type: false
 Is forward only result set type: true
2021-09-21 19:47:44,781 DEBUG [com.netegrity.crypto.AESCBCPKCS5PaddingHandler] (ServerService Thread Pool -- 135) ************The key path =/com/netegrity/config/keys/FIPSkey.dat
2021-09-21 19:47:44,781 ERROR [com.netegrity.crypto.AESCBCPKCS5PaddingHandler] (ServerService Thread Pool -- 135) Exception caught while decrypting.
2021-09-21 19:47:44,781 ERROR [com.netegrity.crypto.AESCBCPKCS5PaddingHandler] (ServerService Thread Pool -- 135) org.bouncycastle.crypto.InvalidCipherTextException: Error finalising cipher

Cause

This is due to wrong FIPS key

Resolution

If there is no provisioning server involved. Clear the entry in password table and restart IDM