précision VPN => OpenVPN pour mail rappel d'expirations certificats
This commit is contained in:
parent
2994568d3b
commit
6fa36706a3
|
@ -160,14 +160,14 @@ Un script [cert-expirations.sh](https://gitea.evolix.org/evolix/shellpki/raw/bra
|
|||
# wget https://gitea.evolix.org/evolix/shellpki/raw/branch/dev/cert-expirations.sh -O /usr/share/scripts/cert-expirations.sh
|
||||
# chmod +x /usr/share/scripts/cert-expirations.sh
|
||||
# crontab -e
|
||||
@monthly /usr/share/scripts/cert-expirations.sh | mail -E -s "PKI VPN XXX : recapitulatif expirations" mail@example.com
|
||||
@monthly /usr/share/scripts/cert-expirations.sh | mail -E -s "PKI OpenVPN XXX : recapitulatif expirations" mail@example.com
|
||||
~~~
|
||||
|
||||
Penser à remplacer :
|
||||
|
||||
* L'horaire d'exécution du cron, si voulu ;
|
||||
* L'emplacement des certificats dans le script (/etc/shellpki/certs/), ceux-ci peuvent se trouver dans "/etc/openvpn/ssl/certs/" ou ailleurs encore ;
|
||||
* Le nom du serveur XXX dans le sujet "PKI VPN XXX" ;
|
||||
* Le nom du serveur XXX dans le sujet "PKI OpenVPN XXX" ;
|
||||
* L'adresse mail de contact.
|
||||
|
||||
### Serveur sous Debian
|
||||
|
|
Loading…
Reference in New Issue