CWPKI0033E:javax.crypto.BadPaddingException: Given final block not properly padded.

Howd’y !

After migrated WAS 7 to WAS 8.5.5, by using WASPreUpgrade, WASPostUpgrade, I did synchronize the node along with Dmgr and had the following error during nodeagent start:

[7/29/18 7:39:26:536 GMT] 00000001 WSKeyStore E CWPKI0033E: The keystore located at “/WebSphere855/AppServer/profiles/xx/config/cells/xxxx/nodes/Commerce_node/key.p12” failed to load due to the folowing error: failed to decrypt safe contents entry: javax.crypto.BadPaddingException: Given final block not properly padded.

So, the resolution was:

1 – Stopped new WAS

2 – Cleaned up the Caches on profiles: temp, wstemp, config/temp.

3 – Copy all key.p12 from old WebSphere to the same path to the newest WAS Folder. I ran “find /Old/Was/AppServer -name key.p12

and copied them to the new WAS folder.

Before doing that, do a Copy Backup of key.p12 files.

4 – started Dmgr

5 – synchronized Nodes

6 – Started nodeagent

7 – started AppServer.

Anúncios

Deixe um comentário

Preencha os seus dados abaixo ou clique em um ícone para log in:

Logotipo do WordPress.com

Você está comentando utilizando sua conta WordPress.com. Sair /  Alterar )

Foto do Google+

Você está comentando utilizando sua conta Google+. Sair /  Alterar )

Imagem do Twitter

Você está comentando utilizando sua conta Twitter. Sair /  Alterar )

Foto do Facebook

Você está comentando utilizando sua conta Facebook. Sair /  Alterar )

Conectando a %s