From e1ba51dd074a8b0b44733f3153c5a6c0155645c5 Mon Sep 17 00:00:00 2001 From: Daniel Jakots Date: Sat, 20 May 2017 23:36:47 -0400 Subject: [PATCH] add a README.md --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..15723ee --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +# shellpki + +This script is a wrapper around openssl to manage all the pki stuff +for openvpn. + +# Usage + +First create the directory, put the script in it and the openssl +configuration file. You may certainly need to edit the configuration. + + mkdir -p /etc/openvpn/ssl + cp /path/to/shellpki.sh /etc/openvpn/ssl/ + cp /path/to/openssl.cnf /etc/openvpn/ssl/ + $EDITOR /etc/openvpn/ssl/openssl.cnf + +Then you'll need to initialize the pki. + + cd /etc/openvpn/ssl + sh shellpki.sh init + +Once it's done, you can create all the certificates you need. + + sh shellpki.sh create +