How to verify the encryption algorithm of a PKCS12 credential store file with OpenSSL
Issue
When inspecting a PKCS#12 file generated by JBoss EAP Elytron using the openssl pkcs12 -info command, the encryption algorithm for the stored secret key is not explicitly displayed. This makes it difficult to prove which specific encryption algorithm (e.g., AES-256) is being used for security compliance. The output shows a Bag Value but doesn't label the algorithm directly.
Environment
- JBoss Enterprise Application Platform 8
- openssl > 3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.