Zertifikate: Unterschied zwischen den Versionen

Aus crazylinux.de
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
 
Keine Bearbeitungszusammenfassung
Zeile 18: Zeile 18:
openssl pkcs12 -export -out cert.p12 -inkey ./userkey.pem -in ./usercert.pem
openssl pkcs12 -export -out cert.p12 -inkey ./userkey.pem -in ./usercert.pem
</pre>
</pre>
==Creating and Using a self signed SSL Certificates in debian==
http://www.debian-administration.org/articles/284

Version vom 9. November 2005, 14:00 Uhr

CONVERT pkcs12 to pem

#!/bin/sh
#
echo "copy your cert to cert.p12 - then run this script"
#
openssl pkcs12 -clcerts -nokeys -in cert.p12 -out usercert.pem
openssl pkcs12 -nocerts -in cert.p12 -out userkey.pem


CONVERT pem to pkcs12

#!/bin/sh
#
echo "Verify that you are using the correct certificate pair (key/cert)"
#
openssl pkcs12 -export -out cert.p12 -inkey ./userkey.pem -in ./usercert.pem


Creating and Using a self signed SSL Certificates in debian

http://www.debian-administration.org/articles/284