Error on Trying to Use AES256 Cryptography in Custom Java Business Service - SBL-EAI-05000 and 'java.security.NoSuchAlgorithmException: PBKDF2WithHmacSHA256 SecretKeyFactory not available'
(Doc ID 2808574.1)
Last updated on SEPTEMBER 28, 2021
Applies to:Siebel CRM - Version 188.8.131.52.17 [IP2013] and later
Information in this document applies to any platform.
On a Development environment, a Java Business Service (JBS) was implemented to encrypt string to build a secure URL to open a symbolic url (iFrame) on Siebel Application.
This JBS was already working fine for some time using blowfish cipher; but recently the external payment gateway provider needed to change the cryptography technology to AES256.
After implementing such changes to that code, testing that with Siebel shows following errors in the AOM log (SCCObjMgr_ptb*.log):
SBL-EAI-05000: A chamada do Business Service retornou o código de erro CRIPT e a mensagem: Ocorreu um problema na execuda criptografia/descriptografia java.security.NoSuchAlgorithmException: PBKDF2WithHmacSHA256 SecretKeyFactory not available
SBL-BPR-00162: Erro ao invocar o serviço 'XYZ Cryptography AES', método 'Execute' na etapa 'Copy of Encript CPF'.
(or ENU equivalent)
SBL-EAI-05000: Business Service call returned error code CRIPT and message: A problem occurred performing encryption/decryption java.security.NoSuchAlgorithmException: PBKDF2WithHmacSHA256 SecretKeyFactory not available
SBL-BPR-00162: Error invoking service 'XYZ Cryptography AES', method 'Execute' at step 'Copy of Encript CPF'.
The issue could only be reproduced in that environment with the following steps:
1. Navigate to Business Service Simulator view;
2. Enter the details for that custom WorkFlow process invoking the JBS step;
3. Execute that - and see the error details.
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