mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 00:02:14 -04:00
Added a check for a failed sni_challenge
This commit is contained in:
parent
da01500a68
commit
c9fcad82ff
1 changed files with 3 additions and 1 deletions
|
|
@ -147,7 +147,9 @@ for name in dn:
|
|||
if host is not None:
|
||||
vhost.add(host)
|
||||
|
||||
sni_challenge.perform_sni_cert_challenge(sni_todo, os.path.abspath(req_file), os.path.abspath(key_file))
|
||||
if not sni_challenge.perform_sni_cert_challenge(sni_todo, os.path.abspath(req_file), os.path.abspath(key_file), config):
|
||||
print "sni_challenge failed"
|
||||
sys.exit(1)
|
||||
|
||||
print "waiting", 3
|
||||
time.sleep(3)
|
||||
|
|
|
|||
Loading…
Reference in a new issue