Eureka Moment Wiki

One eureka moment at the time

User Tools

Site Tools


linux:ubuntu:openssl_examples

Differences

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

Link to this comparison view

linux:ubuntu:openssl_examples [2019/02/04 14:47]
tplecko created
linux:ubuntu:openssl_examples [2019/02/06 16:04] (current)
tplecko
Line 12: Line 12:
 <code bash| Convert a PEM certificate file and a private key to PKCS#12 (.pfx .p12)> <code bash| Convert a PEM certificate file and a private key to PKCS#12 (.pfx .p12)>
 openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt -certfile CAC openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt -certfile CAC
 +</​code>​
 +
 +<code bash| Export public key from private key>
 +openssl rsa -in privkey.pem -pubout > key.pub
 </​code>​ </​code>​
linux/ubuntu/openssl_examples.txt · Last modified: 2019/02/06 16:04 by tplecko