User Tools

Site Tools


openssl

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
openssl [2018/08/23 10:47] – [Zertifikat von PEM auf PCKS12 konvertieren] baumiopenssl [2023/11/17 10:23] (current) – [Zertifikat von PCKS12 im CRT und KEY konvertieren] baumi
Line 11: Line 11:
 ===== Zertifikat von PEM auf PCKS12 konvertieren ===== ===== Zertifikat von PEM auf PCKS12 konvertieren =====
 <code bash>openssl pkcs12 -export -in $certfile -inkey $keyfile -out $p12file</code> <code bash>openssl pkcs12 -export -in $certfile -inkey $keyfile -out $p12file</code>
-Mit CA Chain:+==== Mit CA Chain ====
 <code bash>openssl pkcs12 -export -in $certfile -inkey $keyfile -certfile $cacertchain -out $p12file</code> <code bash>openssl pkcs12 -export -in $certfile -inkey $keyfile -certfile $cacertchain -out $p12file</code>
 +
 +===== Zertifikat von PCKS12 im CRT und KEY konvertieren =====
 +<code bash>openssl pkcs12 -in $p12file -out $certfile -clcerts -nokeys
 +openssl pkcs12 -in $p12file -out $keyfile -nocerts</code>
 +
 +===== Passphrase von Key entfernen =====
 +<code bash>
 +openssl rsa -in $keyfile -out $keyfile2
 +</code>
 {{tag>kb ssl}} {{tag>kb ssl}}
  
openssl.1535014030.txt.gz · Last modified: 2018/08/23 10:47 by baumi

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki