Hey,
I am trying to come up with a design in which to securely transmit WiFi credentials to a device in AP mode as to provision it onto the WiFi network.
This document:
https://www.ti.com/lit/wp/swry011a/swry011a.pdf
describes a method in which the device creates a hotspot, the user then connects to this hotspot and can provision the device using the browser.
As suggested, this method should make use of HTTPS to ensure the credentials are securely transmitted.
My problem comes from attempting to make an HTTPS connection to the device:
Any modern browser will refuse the connection due to certificate issues. Even if the certificate used is from a CA trusted by the browser, there will be no way to pass the hostname verification.
Due to this, any sort of HTTPS connection attempts will be blocked by the browser.
How can this problem be overcome?
Thanks in advance,
Nathan