How to remove support of PBEWithSHA1AndDESede algorithm in p12 files #695
Replies: 2 comments 2 replies
-
It's not a bug, it's as designed.
Not sure what you did to get PBEWithSHA1AndDESede? Doesn't sound like it was from EJBCA? There is a feature ticket to enable usage of AES instead of 3DES. |
Beta Was this translation helpful? Give feedback.
-
Hi Tomas, I'm running the ejbca docker image & my CA application at STIG based environment. There I got the issue while loading the p12 file with password. In that environment, the algorithm support is removed.
Below is the outpu of the command openssl pkcs12 -in superadmin.p12 -info When I expect this feature to get released. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I want to generate a login certificate(p12 file) not with the PBEWithSHA1AndDESede algorithm.
When I deployed my application as a docker image with the base image of Redhat OpenJDK, I faced the below error:
java.security.UnrecoverableKeyException: failed to decrypt safe contents entry: java.security.NoSuchAlgorithmException: Cannot find any provider supporting PBEWithSHA1AndDESede.
When I ran the below sample application in my application, it did not list the PBEWithSHA1AndDESede algorithm.
Output:
[PBEWITHHMACSHA384ANDAES_128, RSA/ECB/NOPADDING, AES_256/GCM/NOPADDING, DESEDE/ECB/NOPADDING, AES/CBC/PKCS5PADDING, AES_192/GCM/NOPADDING, PBEWITHHMACSHA512ANDAES_128, AES_256/CBC/NOPADDING, AES/CTR/NOPADDING, AES_256/ECB/NOPADDING, PBEWITHHMACSHA224ANDAES_256, AES_128/CBC/NOPADDING, DESEDE/CBC/NOPADDING, DES/ECB/NOPADDING, AES_192/CBC/NOPADDING, PBEWITHHMACSHA256ANDAES_256, PBEWITHHMACSHA1ANDAES_128, DESEDE/CBC/PKCS5PADDING, AES_128/ECB/NOPADDING, DESEDE/ECB/PKCS5PADDING, PBEWITHHMACSHA512ANDAES_256, CHACHA20-POLY1305, DES/CBC/NOPADDING, AES/ECB/NOPADDING, AES/GCM/NOPADDING, AES/CBC/NOPADDING, AES_192/ECB/NOPADDING, DES/ECB/PKCS5PADDING, ARCFOUR, DES/CBC/PKCS5PADDING, RSA/ECB/PKCS1PADDING, AES_128/GCM/NOPADDING, AES/ECB/PKCS5PADDING, PBEWITHHMACSHA256ANDAES_128, PBEWITHHMACSHA384ANDAES_256, PBEWITHHMACSHA1ANDAES_256, PBEWITHHMACSHA224ANDAES_128]
How to use the specific algorithm from the above list or how to remove the default one.
Beta Was this translation helpful? Give feedback.
All reactions