The Chavers

Rob, Missy, Olivia, Genevieve, family and friends.

convert ipcop w/ zerina openVPN p12 files for use with network-manager

E-mail Print PDF
#/bin/sh

# this program will convert ipcop's openvpn configuration files ( zerina )
# into three separate pem files for us w/ ubuntu's network manager
# put this program into the directory containing your .p12 file from zerina
# don't forget to install the openvpn plugin for network-manager
# aptitude install network-manager-openvpn
# usage:
# /bin/sh convert.sh somefile.p12


# get the first variable passed
pkcs12=$1

# remove the extension
pkcs_base=${pkcs12%.*}

# create the pem files
openssl pkcs12 -nocerts -in $pkcs12 -out $pkcs_base-userkey.pem
openssl pkcs12 -nokeys -clcerts -in $pkcs12 -out $pkcs_base-usercert.pem
openssl pkcs12 -nokeys -cacerts -in $pkcs12 -out $pkcs_base-userca.pem

Last Updated on Friday, 16 January 2009 13:03  

Random Image

Baby Shower
 
 
Baby Shower Date: 03/14/2009

Login Form