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

# Similar to build-key, but protect the private key
# with a password.

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