extended client status for EXPIRED or other errors

This commit is contained in:
Bauer, Jochen
2018-09-01 15:40:38 +02:00
parent cf136d40df
commit ea19fbe932
2 changed files with 25 additions and 12 deletions

View File

@ -11,10 +11,12 @@ Note that some client software might be picky about which configuration format i
## Client List
See an overview of the configured clients, including revocation status:
See an overview of the configured clients, including revocation and expiration status:
docker run --rm -it -v $OVPN_DATA:/etc/openvpn kylemanna/openvpn ovpn_listclients
The output is generated using `openssl verify`. Error codes from the verification process different from `X509_V_ERR_CERT_HAS_EXPIRED` or `X509_V_ERR_CERT_REVOKED` will show the status `INVALID`.
## Batch Mode
If you have more than a few clients, you will want to generate and update your client configuration in batch. For this task the script [`ovpn_getclient_all`](/bin/ovpn_getclient_all) was written, which writes out the configuration for each client to a separate directory called `clients/$cn`.