1
0
mirror of https://github.com/laurivosandi/certidude synced 2025-09-06 13:51:12 +00:00
Files
certidude/certidude/templates/snippets/nginx-ocsp-cache.service

8 lines
276 B
Desktop File

[Unit]
Description=Cache OCSP responses for nginx OCSP stapling
Requires=nginx.service
[Service]
Type=oneshot
ExecStart=-/usr/bin/curl --cert-status https://{{ session.authority.hostname }}:8443/ --cacert /etc/certidude/authority/{{ session.authority.hostname }}/ca_cert.pem