How to verify the encryption algorithm of a PKCS12 credential store file with OpenSSL

Solution Unverified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content