User Tools

Site Tools


info:cryptography:openssl:convert_key

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
info:cryptography:openssl:convert_key [2015-05-06 11:21]
andunix
info:cryptography:openssl:convert_key [2019-01-17 20:19]
andunix
Line 7: Line 7:
 You can add ''-deststorepass PASSWORD'' to set the password on the command line. You can add ''-deststorepass PASSWORD'' to set the password on the command line.
 If you don't, keytool will ask you for a password. If you don't, keytool will ask you for a password.
 +
 +===== Convert PEM to P12 =====
 +
 +To convert ''cert.pem'' and ''key.pem'' to ''key.p12'':
 +
 +  openssl pkcs12 -export -in cert.pem -inkey key.pem -out key.p12
  
 ===== Export Certificate from P12 ===== ===== Export Certificate from P12 =====
info/cryptography/openssl/convert_key.txt · Last modified: 2019-01-17 20:19 by andunix