I am developing a project with esp32-s2 on arduino ide. Connecting to the wi-fi network I have no problem sending and receiving data to http sites.
However, when I make requests to https sites, it gives error code -1 or connrection refused. How can I fix this?
I think a CA certificate is required, but I used the certificate record in the example, it didn't work.
I imported the ca certificate of the site that I am requesting, it did not work.