Followers

Showing posts with label Import p7b file. Show all posts
Showing posts with label Import p7b file. Show all posts

Friday, January 22, 2021

Import p7b file to Java Keystore using keytool

Step1:

Convert p7b file fomrat to pem format using openssl

command:

openssl pkcs7 -inform der -print_certs -in file.p7b -out file.pem


Step2:

Import generated pem file into JKS file using keytool command

command:

C:\CICD>keytool -import -alias file -keystore filestore.jks -file file.pem