diff --git a/README.md b/README.md index b45a04c..8a7ff68 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Invoke the script with 5 tokens and the profile is outputted to stdout. ### Example ``` -sudo ./ovpngen titty.nipples.org /etc/easy-rsa/pki/ca.crt /etc/easy-rsa/pki/issued/client.crt /etc/easy-rsa/pki/private/client.key /etc/openvpn/ta.key > myprofile.ovpn +sudo ./ovpngen titty.nipples.org /etc/openvpn/ca.crt /etc/easy-rsa/pki/signed/client.crt /etc/easy-rsa/pki/private/client.key /etc/openvpn/ta.key > iphone.ovpn ``` The resulting myprofile.ovpn can be edited if desired. diff --git a/ovpngen b/ovpngen index 8e42788..b23bc05 100644 --- a/ovpngen +++ b/ovpngen @@ -18,7 +18,7 @@ if [[ -z ${1} ]]; then echo " PROTO = Protocol (defaults to udp if left blank)" echo echo "For example:" - echo "ovpngen titty.nipples.org /etc/easy-rsa/pki/ca.crt /etc/easy-rsa/pki/issued/client.crt /etc/easy-rsa/pki/private/client.key /etc/openvpn/ta.key > iphone.ovpn" + echo "ovpngen titty.nipples.org /etc/openvpn/ca.crt /etc/easy-rsa/pki/signed/client.crt /etc/easy-rsa/pki/private/client.key /etc/openvpn/ta.key > iphone.ovpn" exit 0 fi