Blog
Projects
About
Backtrack:
Blog
›
Creating PKCS12 files for Open…
Comments
Creating PKCS12 files for OpenVPN
posted on June 23rd 2011, at 17:37
by
lunarg
Since version 2.0, OpenVPN has the ability to use PKCS12-files as TLS/SSL keys for accessing an OpenVPN server. The advantage of this is that you only have one key file containing the private and public key of the client and the CA certificate.
Creating such a certificate storage file can be done very easily when you already have the individual files, using OpenSSL.
openssl pkcs12 -export -in my-vpn.crt -inkey my-vpn.key -certfile my-ca.crt -out my-vpn.p12
Run the command above, matching the file names to the ones you have. Optionally, you can type in a password to secure the PKCS12 file.
Next, adjust your OpenVPN config: remove all the lines to your certificate and key files and add a s
...
read more
add a comment
Tags
computer
software
windows
vmware
microsoft
linux
exchange
network
hardware
news
mac
home
powershell
office365
msoffice
server
sqlserver
ad
dell
soaring
internet
esx
rds
sbs
mssql
events
terminalserver
hp
virtualization
antivirus
Archive
«
‹
April 2021
›
»
Sun
Mon
Tue
Wed
Thu
Fri
Sat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Links
-
@harkx
-
Cats & Dogs
-
Jargon-free Security Guide
Quote
«
Safety is not a coincidence.
»
Contact
© 2009-2021 Black Manticore – all rights reserved
code by
lunarg
, design by
SuriAmanah
, hosted at Cats&Dogs