mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 02:54:34 +02:00
report failure after attempted issuance
This commit is contained in:
@@ -78,4 +78,6 @@ while r.challenge or r.proceed.IsInitialized():
|
|||||||
|
|
||||||
if r.success.IsInitialized():
|
if r.success.IsInitialized():
|
||||||
open("cert.pem", "w").write(r.success.certificate)
|
open("cert.pem", "w").write(r.success.certificate)
|
||||||
print "Served issued certificate; certificate written to cert.pem"
|
print "Server issued certificate; certificate written to cert.pem"
|
||||||
|
elif r.failure.IsInitialized():
|
||||||
|
print "Server failed."
|
||||||
|
|||||||
Reference in New Issue
Block a user