Update certbot/certbot/_internal/ocsp.py

Co-Authored-By: Brad Warren <bmw@users.noreply.github.com>
This commit is contained in:
Joona Hoikkala 2020-02-04 10:43:53 +02:00 committed by GitHub
parent a02b092620
commit 975025207f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -181,7 +181,7 @@ def _ocsp_times_openssl_bin(response_file):
:param str response_file: File path to OCSP response
:returns: tuple of producedAt, thisUpdate and nextUpdate values
:rtype: tuple of datetime
:rtype: tuple of datetime or None
"""
cmd = ["openssl", "ocsp", "-resp_text", "-noverify", "-respin", response_file]
logger.debug("Reading OCSP response from temp file: %s", response_file)