2016-09-16 13:37:46 [startup]
2016-09-16 13:37:46 [running] mode='single'
2016-09-16 13:37:46 [updating-elb] elb_name='XXXXXXXXXXXXXXXXXXX'
Traceback (most recent call last):
File "/opt/letsencrypt-aws/letsencrypt-aws.py", line 577, in <module>
cli()
File "/usr/local/lib/python3.4/dist-packages/click/core.py", line 716, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.4/dist-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.4/dist-packages/click/core.py", line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.4/dist-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.4/dist-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/opt/letsencrypt-aws/letsencrypt-aws.py", line 540, in update_certificates
force_issue, certificate_requests
File "/opt/letsencrypt-aws/letsencrypt-aws.py", line 432, in update_certs
cert_request,
File "/opt/letsencrypt-aws/letsencrypt-aws.py", line 344, in update_cert
current_cert = cert_request.cert_location.get_current_certificate()
File "/opt/letsencrypt-aws/letsencrypt-aws.py", line 96, in get_current_certificate
self.iam_client, elb_listener["SSLCertificateId"]
File "/opt/letsencrypt-aws/letsencrypt-aws.py", line 58, in _get_iam_certificate
default_backend(),
File "/usr/local/lib/python3.4/dist-packages/cryptography/x509/base.py", line 42, in load_pem_x509_certificate
return backend.load_pem_x509_certificate(data)
File "/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/backends/multibackend.py", line 325, in load_pem_x509_certificate
return b.load_pem_x509_certificate(data)
File "/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/backends/openssl/backend.py", line 1118, in load_pem_x509_certificate
mem_bio = self._bytes_to_bio(data)
File "/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/backends/openssl/backend.py", line 452, in _bytes_to_bio
data_char_p = self._ffi.new("char[]", data)
TypeError: initializer for ctype 'char[]' must be a bytes or list or tuple, not str
pip3 install -r /opt/letsencrypt-aws/requirements.txt
successfull.python3 /opt/letsencrypt-aws/letsencrypt-aws.py update-certificates
Receiving following error...
Pip packages and versions...
Any help would be greatly appreciated.
Cheers.