2019-05-21 06:42:03 -04:00
|
|
|
## Copyright © 2017 Bret Human
|
2020-11-15 04:47:12 -05:00
|
|
|
## https://cynop.me/
|
2019-05-21 06:42:03 -04:00
|
|
|
##
|
|
|
|
## Documentation at:
|
2020-11-15 04:47:12 -05:00
|
|
|
## https://psi.cynop.me/Caffarius/letsEncryptScripts
|
2019-05-21 06:42:03 -04:00
|
|
|
##
|
|
|
|
## For questions or comments write:
|
2020-11-15 04:47:12 -05:00
|
|
|
## info@cynop.me
|
2019-05-21 06:42:03 -04:00
|
|
|
#
|
|
|
|
# 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
|