User Tools

Site Tools


info:cryptography:openssl:convert_key
Please note, that this is an old archived version of this site. Check out the new version at andunix.net!

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 09:21]
andunix
info:cryptography:openssl:convert_key [2019-01-17 19:19] (current)
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 19:19 by andunix