Skip to content

Inspect public certificate of .p12 without password #247

@Madjosz

Description

@Madjosz

Is your feature request related to a problem? Please describe.
I often have to inspect client certificates for expiry dates. To do this with KeyStore Explorer I always have to provide the keystore password just to access the public information which could easily be extracted without password (without integrity verification in that case).

Describe the solution you'd like
It would be nice if I can inspect the public certificates of a .p12 file even when no password is given as the public certificates can be exported without password by keytool or openssl.

Describe alternatives you've considered
Currently if I do not have the password available or are too lazy to search the password manager for it I do the following:

keytool -exportcert -keystore clientcertificate.p12 -alias myalias -file publiccertificate.pem

or similar

openssl pkcs12 -nokeys -nomacver -in clientcertificate.p12 -out publiccertificate.pem

and provide no password when asked in both tools. I then inspect publiccertificate.pem with KeyStore Explorer to achieve my goal.

Additional context
Using KeyStore Explorer 5.4.4 I found no way to open clientcertificate.p12 without password. Leaving the password field empty like in #122 does not work and I will always be prompted if I like to enter the password again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestNew features, as opposed to a problem or improvementpkcs12Issues that are related to PKCS#12

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions