summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sign_csr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sign_csr.py b/sign_csr.py
index 1017b18..90e2578 100644
--- a/sign_csr.py
+++ b/sign_csr.py
@@ -412,7 +412,7 @@ sudo python -c "import BaseHTTPServer; \\
-----BEGIN CERTIFICATE-----
{0}
-----END CERTIFICATE-----
-""".format("\n".join(textwrap.wrap(signed_der64, 64)))
+""".format("\n".join(textwrap.wrap(signed_der64.decode(), 64)))
return signed_pem