I am trying to make HTTPS GET/POST requests to the following server using AT commands.

AT+CIPSTART="TCP"," ",443 

I get errors when i use port 443 but on port 80 the requests are successful.

How can i get around this issue ? what could be potential solutions ?


HTTPS requires that you make an SSL connection not a TCP connection. To do that you need to use

AT+CIPSTART="SSL"," ",443 

You also need to configure SSL itself.

However the SSL support is not great and struggles with some sites (no SNI support by all accounts).

So you're better off programming the ESP8266 directly with your own sketch to make any HTTPS requests and process the data for you.

  • 1
    How do i configure the SSL, is there any reference ? Dec 10 '20 at 12:32
  • 1
    From the examples I've seen it looks like it's just setting the SSL buffer size. There's configuration commands but I haven't seen them being used.
    – Majenko
    Dec 10 '20 at 12:33
  • 1
    That solved it :) the buffer size was 2048 by default Dec 10 '20 at 15:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.