Question
LTIMindtree
LTIMindtree
SA
LTIMindtree
Posted: Oct 27, 2023
Last activity: Nov 1, 2023
Last activity: 1 Nov 2023 3:47 EDT
Solved
How to Extract Certificates from JKS Files Using Keytool Commands
We have a requirement that JKS file is available and need to extract the certificates to see and use them in-order to make an alternate arrangement to pass the keystore and trust store JKS files from OpenShift Cluster.
Any Ideas to get this done will be helpful.
***Edited by Moderator Marije to add Capability tags***
To see attachments, please log in.
@Kishore Sanagapalli
Required Keytool Commands to extract the .JKS files to their original Certificate format is given below.
keytool -list -keystore [file name].jks
keytool -exportcert -alias [alias-name] -keystore [file-name].jks -file [file-name].crt