-->
Page 1 of 1

WiFiClientSecure server verification (Fingerprint or CA)

PostPosted: Sat Mar 17, 2018 8:17 am
by SarenT
Hi,

For my first project with ESP8266, I am trying to set up MQTT client. First I am testing my communication if it is secure. I don't use domain names but only IP addresses. I have trouble understanding the verify function. It requires fingerprint of the certificate. However, there is also a loadCACert function. Why do we need a fingerprint, if we load CA certificate? If I have the server certificate uploaded onto SPIFFS, can I not use that to verify server?

Best,
Saren