summaryrefslogtreecommitdiff
path: root/src/openvpn/easy-rsa/2.0/build-key-server
blob: 55026755466113b7a1564e73a7a308ba56b87b2d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

# Make a certificate/private key pair using a locally generated
# root certificate.
#
# Explicitly set nsCertType to server using the "server"
# extension in the openssl.cnf file.

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