-
Notifications
You must be signed in to change notification settings - Fork 157
Settings incorrect or missing a cyper for SSL #241
Comments
Hi, I'm using ESP32 the Google's minimal root CA.
Any idea how to solve this issue? Thanks |
Same issue with me |
may be you didn't saw last commit -> "Fix cypher for SSL error in ESP32-lwmqtt example", do the setCACert thing that resolved for me. |
It was working for me, but today suddenly stopped working. I cannot program the board to connect to iot core and get the same error as above. Should we update the I have the following in my code which is based on the commit: const char *root_cert =
"-----BEGIN CERTIFICATE-----\n"
"MIIBxTCCAWugAwIBAgINAfD3nVndblD3QnNxUDAKBggqhkjOPQQDAjBEMQswCQYD\n"
"VQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzERMA8G\n"
"A1UEAxMIR1RTIExUU1IwHhcNMTgxMTAxMDAwMDQyWhcNNDIxMTAxMDAwMDQyWjBE\n"
"MQswCQYDVQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExM\n"
"QzERMA8GA1UEAxMIR1RTIExUU1IwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAATN\n"
"8YyO2u+yCQoZdwAkUNv5c3dokfULfrA6QJgFV2XMuENtQZIG5HUOS6jFn8f0ySlV\n"
"eORCxqFyjDJyRn86d+Iko0IwQDAOBgNVHQ8BAf8EBAMCAYYwDwYDVR0TAQH/BAUw\n"
"AwEB/zAdBgNVHQ4EFgQUPv7/zFLrvzQ+PfNA0OQlsV+4u1IwCgYIKoZIzj0EAwID\n"
"SAAwRQIhAPKuf/VtBHqGw3TUwUIq7TfaExp3bH7bjCBmVXJupT9FAiBr0SmCtsuk\n"
"miGgpajjf/gFigGM34F9021bCWs1MbL0SA==\n"
"-----END CERTIFICATE-----\n"; Also, I see the token in the output of the following command. It is not the first but somewhere in between. When I use
Can someone explain how it works? do we need to update it regularly? What about a device that goes to production? Thank you |
I also see the following in my serial outputs (not sure if I ha it before or not):
|
Does any have found an solution? I'm trying to use the minimal root which is not working, and the lts one gives me multiples certificates , should I use all of them, how? in the same const char ? |
.. I have been encountering this weird error.. I think it is something to do with the encoding of the JWT , if you have a non alphanumeric character in your device ID , the encoding will more often than not throw up a character that cause the jwt to be malformed.. rename your device id , and it might work. |
Hi..
i am trying to use the library for the chip ESP32 under the Arduino Framework (Platformio).
I am following the example I found here . ...
https://www.survivingwithandroid.com/cloud-iot-core-esp32/?unapproved=18309&moderation-hash=cc2e66aa6ddf2d4923bd702ea002d06e#comment-18309
I am always getting this infofrom the debug
Settings incorrect or missing a cyper for SSL
Any idea or experience on that?
ettings incorrect or missing a cyper for SSL
-3
LWMQTT_NETWORK_FAILED_CONNECT
0
OK
Connect with mqtt.2030.ltsapis.goog:8883
or
Thanks
The text was updated successfully, but these errors were encountered: