We also need .as_pem() for the chain in this method

This commit is contained in:
Seth Schoen 2015-05-09 20:58:54 -07:00
parent 29146d1225
commit eaa0bae45f

View file

@ -152,6 +152,9 @@ class Client(object):
# XXX: just to stop RenewableCert from complaining; this is
# probably not a good solution
chain_pem = ""
else:
chain_pem = chain_pem.as_pem()
return cert_pem, cert_key.pem, chain_pem
def obtain_and_enroll_certificate(self, domains, csr=None):