- Thu Jan 29, 2015 4:31 pm
#8480
rant wrote:AT+CIPSTART=4,"TCP","api.parse.com",443
<snip>
Now i dont get the error, but i get after a while: OK Unlink
But no Json respond.
As Sprite_tm already mentioned: you can't just connect to port 443 instead of port 80 and send your request. This will still send your data unencrypted, so the server will either ignore your request or just close the connection.
In order to connect to a HTTPS server, you need to actually negotiate an encrypted channel on top of the TCP connection, which the AT firmware you are using does not support.
So you are basically left with 3 choices:
- do the encryption on your host microcontroller and stick with the current AT firmware
- hack the AT firmware to support SSL/TLS connections. The ESP8266 SDK already has all the libs necessary for that, so it should be fairly simple (maybe someone has already done a SSL/TLS enabled AT firmware)
- implement your network connection completely on the ESP (and maybe ditch the external microcontroller), either in C or Lua