Add links and fix english in README.md
This commit is contained in:
parent
6684fb4d71
commit
702de77412
37
README.md
37
README.md
|
@ -1,24 +1,31 @@
|
||||||
# shellpki
|
# ShellPKI
|
||||||
|
|
||||||
This script is a wrapper around openssl to manage all the pki stuff
|
This script is a wrapper around [OpenSSL](https://www.openssl.org/)
|
||||||
for openvpn.
|
to manage all the
|
||||||
|
[PKI](https://en.wikipedia.org/wiki/Public_key_infrastructure) stuff
|
||||||
|
for [OpenVPN](https://openvpn.net/).
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
|
|
||||||
First create the directory, put the script in it and the openssl
|
First create the directory, then put the script and the OpenSSL
|
||||||
configuration file. You may certainly need to edit the configuration.
|
configuration file in it. You may want to edit the configuration.
|
||||||
|
|
||||||
mkdir -p /etc/openvpn/ssl
|
```
|
||||||
cp /path/to/shellpki.sh /etc/openvpn/ssl/
|
mkdir -p /etc/openvpn/ssl
|
||||||
cp /path/to/openssl.cnf /etc/openvpn/ssl/
|
cp /path/to/shellpki.sh /etc/openvpn/ssl/
|
||||||
$EDITOR /etc/openvpn/ssl/openssl.cnf
|
cp /path/to/openssl.cnf /etc/openvpn/ssl/
|
||||||
|
$EDITOR /etc/openvpn/ssl/openssl.cnf
|
||||||
|
```
|
||||||
|
|
||||||
Then you'll need to initialize the pki.
|
Then you'll need to initialize the PKI.
|
||||||
|
|
||||||
cd /etc/openvpn/ssl
|
```
|
||||||
sh shellpki.sh init
|
cd /etc/openvpn/ssl
|
||||||
|
sh shellpki.sh init
|
||||||
|
```
|
||||||
|
|
||||||
Once it's done, you can create all the certificates you need.
|
Once done, you can create all the certificates you need.
|
||||||
|
|
||||||
sh shellpki.sh create
|
|
||||||
|
|
||||||
|
```
|
||||||
|
sh shellpki.sh create
|
||||||
|
```
|
Loading…
Reference in a new issue