Generate and manage a fleet of SSL certificates for free with ease
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
607B

  1. ## Copyright © 2017 Bret Human
  2. ## https://cynicaloptimist.me/
  3. ##
  4. ## Documentation at:
  5. ## https://psi.cynicaloptimist.me/Caffarius/letsEncryptScripts
  6. ##
  7. ## For questions or comments write:
  8. ## info@cynicaloptimist.me
  9. #
  10. # Script for updating OCSP staples.
  11. # Intended to be cron'd nightly - also solves the
  12. # HAProxy SSL session issues (cleans up the SSL
  13. # sessions every night)
  14. #
  15. # Don't forget to add any new domains you want
  16. # stapled to this list!
  17. rm /etc/haproxy/crt/*.pem.ocsp
  18. /root/.script/hapos-upd.sh --cert /etc/haproxy/crt/subdomain.example.com.pem --skip-update
  19. systemctl restart haproxy