From eaa0bae45f38b1459154359a523394b63fe1ac43 Mon Sep 17 00:00:00 2001 From: Seth Schoen Date: Sat, 9 May 2015 20:58:54 -0700 Subject: [PATCH] We also need .as_pem() for the chain in this method --- letsencrypt/client/client.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/letsencrypt/client/client.py b/letsencrypt/client/client.py index ec53436e8..67e639e5d 100644 --- a/letsencrypt/client/client.py +++ b/letsencrypt/client/client.py @@ -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):