Browse Source

Handle openssl 1.0 and 1.1.

pull/43/head
Bernd Zeimetz 1 year ago
parent
commit
e061dcbe5a
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      templates/letsencrypt_get_certificate_ocsp.sh.erb

+ 4
- 0
templates/letsencrypt_get_certificate_ocsp.sh.erb View File

@@ -22,7 +22,11 @@ openssl ocsp -noverify -issuer "${2}" \
<% else -%>
openssl ocsp -noverify -issuer "${2}" \
-cert "${1}" \
<% if @openssl_11 -%>
-header Host="${OCSPHOST}" \
<% else -%>
-header Host "${OCSPHOST}" \
<% end -%>
-url "${OCSPURL}" -respout "${3}.new"

<% end -%>

Loading…
Cancel
Save