WebSphere Issues

30/06/2014

Create and Export certificates using IBM Key Management Utility (gsk7cmd)

Filed under: Other — Tags: , — Ishtiaque @ 1:20 pm
  • gsk7cmd -cert -list -db /tmp/pdsrv.kdb -pw abc123
  • gsk7cmd -cert -create -db /tmp/pdsrv.kdb -pw abc123 -label TST_Cert -size 1024 -dn “cn=TST_Cert,cn=ibm,c=com” -expire 2581
  • gsk7cmd -cert -details -db /tmp/pdsrv.kdb -pw abc123 -label TST_Cert
  • gsk7cmd -cert -export -db /tmp/pdsrv.kdb -pw abc123 -label TST_Cert -type cms -target /tmp/TST_Cert -target_pw abc123 -target_type pkcs12
  • gsk7cmd -cert -delete -db /tmp/pdsrv.kdb -lable TST_Cert
  • gsk7cmd -cert -import -file /tmp/TST_Cert.p12 -pw abc123 -type pkcs12 -target /tmp/pdsrv.kdb -target_pw abc123 -target_type cms -label TST_cert
  • gsk7cmd -db expiry -db pdsrv.kdb -pw password
Advertisements

Blog at WordPress.com.

%d bloggers like this: