esp32_https_server icon indicating copy to clipboard operation
esp32_https_server copied to clipboard

Create Certification Issue

Open PabloASua opened this issue 4 years ago • 0 comments

Describe Your Goal Connect to a HTTPS server

What Does Your Project Look Like Just like the example for the ESP32 HTTP(S) Webserver

ESP32 Module Please provide specifications of your module

  • RAM/PSRAM:
  • Flash Size:
  • Other special properties:

Software (please complete the following information if applicable)

  • IDE and Version: [PlatformIO 3.6.2]
  • OS: [Windows]
  • Client used to access the server: [Chrome 70.0]

Additional context I was trying to connect to a HTTPS server without success. I generate the cert.h and private_key by the create_cert.sh, both of them seems to be ok. When I try to reach the http server everything works fine, but with the https one the explorer throws an error: The connection is not private: NET::ERR_CERT_AUTHORITY_INVALID

On my ESP32: [HTTPS:I] New connection. Socket FID=56 [HTTPS:E] SSL_accept failed. Aborting handshake. FID=56 [HTTPS:I] Connection closed. Socket FID=56

Should it work like this or am I missing something? What am I doing wrong?

Regards

PabloASua avatar Mar 09 '21 20:03 PabloASua