Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
openvpn [2008/01/18 13:17]
a
openvpn [2009/02/23 11:47]
a + change PCKS12 password
Line 34: Line 34:
         % openssl dhparam -check -text -5 512     -out   dh512.pem         % openssl dhparam -check -text -5 512     -out   dh512.pem
         % openssl dhparam -check -text -5 1024  -out  dh1024.pem         % openssl dhparam -check -text -5 1024  -out  dh1024.pem
 +
 +
 +
 +===== OpenSSL / SSL stuff =====
 +
 +**Generate individual certs out of .pk12 cert**
 +
 +   openssl pkcs12 -nocerts -in default.p12 -out userkey.pem
 +   openssl pkcs12 -nokeys -clcerts -in default.p12 -out usercert.pem
 +   openssl pkcs12 -nokeys -cacerts -in default.p12 -out userca.pem
 +
 +
 +==== change PKCS12 password using OpenSSL ====
 +
 +   openssl pkcs12 -in old.p12 | openssl pkcs12 -export -out new.p12
 +
 +Then, you should type in:
 +  - Old import password
 +  - PEM password
 +  - PEM password again
 +  - PEM password again twice
 +  - New export password
 +
 +
openvpn.txt ยท Last modified: 2009/06/23 09:35 by 193.164.137.40
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready