I want to use secure MQTT over port 8883.
I am considering modifying the Adafruit Arduino example "adafruitio_secure_esp8266.ino" to do this for me or at least use this example for guidance.
One thing I note with this example, and others which use TSL/SSL, is that they verify the server certificate by checking the cert "SHA1 fingerprint". OK this hardcoded but at least it is a form of verification.
So, how do I go about doing this fingerprint verification with api.wia.io or what other methods would you recommend for MQTT-S?