mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 08:03:10 +02:00
Add the chain_cert is None case
This commit is contained in:
+3
-1
@@ -328,7 +328,9 @@ class Client(object):
|
||||
logger.info("Server issued certificate; certificate written to %s",
|
||||
abs_cert_path)
|
||||
|
||||
if chain_cert:
|
||||
if not chain_cert:
|
||||
return abs_cert_path, None, None
|
||||
else:
|
||||
chain_pem = crypto_util.dump_pyopenssl_chain(chain_cert)
|
||||
|
||||
chain_file, abs_chain_path =\
|
||||
|
||||
Reference in New Issue
Block a user