Skip to content

Commit 41b7e09

Browse files
committed
Improve ocsp script: continue on error
1 parent 0f43098 commit 41b7e09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/usr/local/bin/haproxy-letsencrypt-ocsp-deploy.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ for path in $(ls -1d {{ haproxy_letsencrypt_ssl_src_path }}/*/); do
2626
-issuer "${path}{{ haproxy_letsencrypt_ssl_chain_name }}" \
2727
-verify_other "${path}{{ haproxy_letsencrypt_ssl_chain_name }}" \
2828
-cert "${path}{{ haproxy_letsencrypt_ssl_cert_name }}" \
29-
-url "${ocspUrl}";
29+
-url "${ocspUrl}" || true;
3030

3131
chown --reference="{{ haproxy_global_crt_base }}" "{{ haproxy_global_crt_base }}/${prefix}-${cert}.pem.ocsp";
3232
chmod --reference="{{ haproxy_global_crt_base }}" "{{ haproxy_global_crt_base }}/${prefix}-${cert}.pem.ocsp";

0 commit comments

Comments
 (0)