My Oracle Support Banner

Admin is Unable to Save the SMTP Details in System Configurations and Gets an Error "Invalid AES key length" in OBDx Logs. (Doc ID 2625074.1)

Last updated on JANUARY 21, 2020

Applies to:

Oracle Banking Digital Experience - Version 19.1.0.0.0 to 19.1.0.0.0 [Release 19]
Information in this document applies to any platform.

Symptoms

ACTUAL BEHAVIOR
---------------
Admin unable to save the SMTP details in system configurations and getting below exception while updating the SMTP.

ERROR
---------------

java.security.InvalidKeyException: Invalid AES key length: 15 bytes
at com.sun.crypto.provider.AESCrypt.init(AESCrypt.java:87)
at com.sun.crypto.provider.GaloisCounterMode.init(GaloisCounterMode.java:298)
at com.sun.crypto.provider.CipherCore.init(CipherCore.java:589)
at com.sun.crypto.provider.AESCipher.engineInit(AESCipher.java:346)
at javax.crypto.Cipher.implInit(Cipher.java:805)
at javax.crypto.Cipher.chooseProvider(Cipher.java:863)
at javax.crypto.Cipher.init(Cipher.java:1395)
at javax.crypto.Cipher.init(Cipher.java:1326)
at com.ofss.digx.infra.crypto.impl.aes.AESCryptographyProvider.getCipher(AESCryptographyProvider.java:60)
at com.ofss.digx.infra.crypto.impl.aes.AESCryptographyProvider.encrypt(AESCryptographyProvider.java:94)
at com.ofss.digx.app.config.handler.SMTPDetailsConfigurationItemHandler.handle(SMTPDetailsConfigurationItemHandler.java:94)

 

Simulation Steps :
---------------

1.Login with admin user

2.Go to Configuration and click on SMTP tab .

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.