Traceback (most recent call last):


 "/root/mailinabox/management/ssl_certificates.py", line 807, in <module>

provision_certificates_cmdline()


 "/root/mailinabox/management/ssl_certificates.py", line 450, in provision_certificates_cmdline

status = provision_certificates(env, agree_to_tos_url=agree_to_tos_url, logger=my_logger, force_domains=force_domains, show_extended_problems=show_extended_problems)


 "/root/mailinabox/management/ssl_certificates.py", line 337, in provision_certificates

logger=my_logger)


 "/usr/local/lib/python3.4/dist-packages/free_tls_certificates/client.py", line 76, in issue_certificate

(cert_pem, chain) = request_certificate_issuance(client, challenges, csr, logger)


 "/usr/local/lib/python3.4/dist-packages/free_tls_certificates/client.py", line 210, in request_certificate_issuance

cert_pem = cert_to_pem(cert_response.body)


 "/usr/local/lib/python3.4/dist-packages/free_tls_certificates/client.py", line 217, in cert_to_pem

return OpenSSL.crypto.dump_certificate(OpenSSL.crypto.FILETYPE_PEM, cert)
TypeError: must be X509, not ComparableX509

Traceback (most recent call last):


 "/usr/lib/python3.6/encodings/utf_8.py", line 16, in decode

return codecs.utf_8_decode(input, errors, True)
TypeError: a bytes-like object is required, not 'NoneType'
