summaryrefslogtreecommitdiff
path: root/openvpn/easy-rsa/2.0/build-key-pkcs12
blob: 5ef064ff4f8b9612fcee3595ec208e7cf255639d (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/bash

# Make a certificate/private key pair using a locally generated
# root certificate and convert it to a PKCS #12 file including the
# the CA certificate as well.

export EASY_RSA="${EASY_RSA:-.}"
"$EASY_RSA/pkitool" --interact --pkcs12 $*