Home Page › Forums › Network Management › ZeroShell › VPN and Microsoft’s Certificates [Resolved] › Reply To: VPN and Microsoft’s Certificates [Resolved]
April 21, 2011 at 9:02 am
#51699
Member
For a user (not a server):
– instal certificate,
– extract it (with MMC “Certificates” or IE by example) in “filename.pfx”.
Use the “.bat” below:
openssl pkcs12 -in filename.pfx -nocerts -out key.pem
openssl pkcs12 -in filename.pfx -clcerts -nokeys -out cert.pem
openssl rsa -in key.pem -out server.key
The result file “server.key” contains the pivate key.
In Zeroshell:
– in certificate, select file “cert.pem”,
– in key, select file “server.key”.
This doesn’t work for server: I’m not able to extract a file with private key, only without…
Thanks for all.