1
0
Fork 0
letsEncryptScripts/ocsp.sh

20 lines
577 B
Bash
Executable File

## Copyright © 2017 Bret Human
## https://cynop.me/
##
## Documentation at:
## https://psi.cynop.me/Caffarius/letsEncryptScripts
##
## For questions or comments write:
## info@cynop.me
#
# Script for updating OCSP staples.
# Intended to be cron'd nightly - also solves the
# HAProxy SSL session issues (cleans up the SSL
# sessions every night)
#
# Don't forget to add any new domains you want
# stapled to this list!
rm /etc/haproxy/crt/*.pem.ocsp
/root/.script/hapos-upd.sh --cert /etc/haproxy/crt/subdomain.example.com.pem --skip-update
systemctl restart haproxy