mirror of
https://github.com/certbot/certbot.git
synced 2026-01-26 07:41:33 +03:00
save certificate after it gets issued
This commit is contained in:
@@ -75,3 +75,7 @@ while r.challenge or r.proceed.IsInitialized():
|
||||
k.session = r.session
|
||||
r = decode(do(k))
|
||||
print r
|
||||
|
||||
if r.success.IsInitialized():
|
||||
open("cert.pem", "w").write(r.success.certificate)
|
||||
print "Served issued certificate; certificate written to cert.pem"
|
||||
|
||||
Reference in New Issue
Block a user