#/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
# 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
| < Prev | Next > |
|---|


