User Tools

Site Tools


certificates:conversions:convert_.pem_to_.pkcs12

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
certificates:conversions:convert_.pem_to_.pkcs12 [2020/04/15 17:37] petercertificates:conversions:convert_.pem_to_.pkcs12 [2020/07/15 09:30] (current) – external edit 127.0.0.1
Line 6: Line 6:
 openssl pkcs12 -export -out cert..pkcs12 -inkey privateKey.key -in cert.crt -certfile CACert.crt openssl pkcs12 -export -out cert..pkcs12 -inkey privateKey.key -in cert.crt -certfile CACert.crt
 </code> </code>
 +
 +----
 +
 +===== With an intermediate certificate =====
 +
 +You need to concatenate all the PEM files into one, then convert it to PKCS#12:
 +
 +<code bash>
 +cat certificate.crt intermediate.crt > bundle.crt
 +openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in bundle.crt
 +</code>
 +
  
certificates/conversions/convert_.pem_to_.pkcs12.1586972250.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki