Traceback (most recent call last):


 "/usr/lib/python3/dist-packages/thingsboard_gateway/gateway/tb_client.py", line 125, in run

min_reconnect_delay=self.__min_reconnect_delay)


 "/usr/lib/python3/dist-packages/thingsboard_gateway/tb_client/tb_device_mqtt.py", line 162, in connect

ciphers=None)


 "/usr/lib/python3/dist-packages/paho/mqtt/client.py", line 709, in tls_set

self.tls_set_context(context)


 "/usr/lib/python3/dist-packages/paho/mqtt/client.py", line 618, in tls_set_context

raise ValueError('SSL/TLS has already been configured.')
ValueError: SSL/TLS has already been configured.

Traceback (most recent call last):


 "./toto.py", line 39, in <module>

load_pem_x509_certificate(bytes(cert, 'utf-8'), default_backend())


 "/Users/fabricemarie/.local/share/virtualenvs/toto/lib/python3.6/site-packages/cryptography/x509/base.py", line 52, in load_pem_x509_certificate

return backend.load_pem_x509_certificate(data)


 "/Users/fabricemarie/.local/share/virtualenvs/toto/lib/python3.6/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 1223, in load_pem_x509_certificate

"Unable to load certificate. See https://cryptography.io/en/la"
ValueError: Unable to load certificate. See https://cryptography.io/en/latest/faq/#why-can-t-i-import-my-pem-file for more details.
