> openssl s_client -connect test.mosquitto.org:8883 2>&1|openssl x509 -noout -serial
serial=803F2238FAFB5CE9
Paul
--
To learn more about MQTT please visit http://mqtt.org
---
You received this message because you are subscribed to the Google Groups "MQTT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mqtt+unsubscribe@googlegroups.com.
To post to this group, send email to mq...@googlegroups.com.
Visit this group at https://groups.google.com/group/mqtt.
For more options, visit https://groups.google.com/d/optout.
We have an MQTTs server and from ESP8266 we need to connect and PUBLISH a message. The packets need to be encrypted in this communication. I have tried to verify the fingerprint of the server using verify method by it always results "TLS cannot be verified".WiFiClientSecure secureClient;PubSubClient client(MQTT_SERVER, PORT, callback, secureClient);if (client.connect((char*) clientName.c_str(),"rabbit","rabbit")){boolean verified = secureClient.verify(fingerprint,"server IP");Serial.print(verified ? "verified tls!" : "unverified tls");}
You should put the server hostname in the verify.Paul
On 24 Apr 2017 8:32 am, "Balasundram Arunn" <vba...@gmail.com> wrote:
We have an MQTTs server and from ESP8266 we need to connect and PUBLISH a message. The packets need to be encrypted in this communication. I have tried to verify the fingerprint of the server using verify method by it always results "TLS cannot be verified".WiFiClientSecure secureClient;PubSubClient client(MQTT_SERVER, PORT, callback, secureClient);if (client.connect((char*) clientName.c_str(),"rabbit","rabbit")){boolean verified = secureClient.verify(fingerprint,"server IP");Serial.print(verified ? "verified tls!" : "unverified tls");}
--
To learn more about MQTT please visit http://mqtt.org
---
You received this message because you are subscribed to the Google Groups "MQTT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mqtt+uns...@googlegroups.com.
You should put the server hostname in the verify.Paul
On 24 Apr 2017 8:32 am, "Balasundram Arunn" <vba...@gmail.com> wrote:
We have an MQTTs server and from ESP8266 we need to connect and PUBLISH a message. The packets need to be encrypted in this communication. I have tried to verify the fingerprint of the server using verify method by it always results "TLS cannot be verified".WiFiClientSecure secureClient;PubSubClient client(MQTT_SERVER, PORT, callback, secureClient);if (client.connect((char*) clientName.c_str(),"rabbit","rabbit")){boolean verified = secureClient.verify(fingerprint,"server IP");Serial.print(verified ? "verified tls!" : "unverified tls");}
--
To learn more about MQTT please visit http://mqtt.org
---
You received this message because you are subscribed to the Google Groups "MQTT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mqtt+uns...@googlegroups.com.
37D78A0B08602951C3CCC2EF489101C6
Where did you get that one from?
Paul
--
To learn more about MQTT please visit http://mqtt.org
---
You received this message because you are subscribed to the Google Groups "MQTT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mqtt+unsubscribe@googlegroups.com.
To post to this group, send email to mq...@googlegroups.com.
Visit this group at https://groups.google.com/group/mqtt.
For more options, visit https://groups.google.com/d/optout.