Hello everyone, I am using a flask app to connect to my MQTT. However, I keep running into errors when configuring.
Here is my code for the configuration:
app.config[‘MQTT_BROKER_URL’] = “3eb3bxxxxxxxxxx08766dd4507ecd30c.s1.eu.hivemq.cloud”
app.config[‘MQTT_BROKER_PORT’] = 8883
app.config[‘MQTT_TLS_ENABLED’] = True
app.config[‘MQTT_TLS_INSECURE’] = True
app.config[‘MQTT_TLS_CA_CERTS’] = “mqtt\python-mqtt\isrgrootx1.pem”
app.config[‘MQTT_TLS_CIPHERS’] = “TLS_RSA_WITH_AES_256_CBC_SHA”
app.config[‘MQTT_TLS_KEYFILE’] = “mqtt\python-mqtt\private.key”
Error receieved:
context.set_ciphers(ciphers)
ssl.SSLError: (‘No cipher can be selected.’,)
Anyone knows how to fix this? I am stucked at this problem for the past 9 hours