Error in Red Hat Fuse: "unrecognized algorithm name: PBEWithSHA1AndDESede"
Issue
Exceptions are seen in the Fuse log, related to a number of encryption-related operations. All have the following cause:
Caused by: java.security.NoSuchAlgorithmException: unrecognized algorithm name: PBEWithSHA1AndDESede
at sun.security.x509.AlgorithmId.get(AlgorithmId.java:448) ~[?:1.8.0_292]
at sun.security.pkcs12.PKCS12KeyStore.mapPBEAlgorithmToOID(PKCS12KeyStore.java:938) ~[?:1.8.0_292]
at sun.security.pkcs12.PKCS12KeyStore.encryptPrivateKey(PKCS12KeyStore.java:895) ~[?:1.8.0_292]
at sun.security.pkcs12.PKCS12KeyStore.setKeyEntry(PKCS12KeyStore.java:652) ~[?:1.8.0_292]
at sun.security.pkcs12.PKCS12KeyStore.engineSetEntry(PKCS12KeyStore.java:1396) ~[?:1.8.0_292]
Environment
- Red Hat Fuse
- All versions
- OpenJDK
- All versions before 1.8_302
It is possible that earlier releases of JDK 11 and 15 are also affected.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.