Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V3 ESP32 Arudino IDE library missing opensll (not supported https for C6) #9960

Open
1 task done
virco opened this issue Jun 29, 2024 · 5 comments
Open
1 task done
Labels
Type: Question Only question

Comments

@virco
Copy link

virco commented Jun 29, 2024

Board

esp32 C6 Dev

Device Description

DevKit C6 N8

Hardware Configuration

N/A

Version

v3.0.1

IDE Name

Arduino IDE

Operating System

Windows 11

Flash frequency

40

PSRAM enabled

yes

Upload speed

115200

Description

C6 module are supported from V3 onwards, where there is an issue with missing "openssl/ssl.h"

Sketch

https://github.com/khoih-prog/HTTPS_Server_Generic/blob/main/examples/ESP32_WiFi/REST-API/REST-API.ino

Debug Message

C:\Users\virco\AppData\Local\Temp\.arduinoIDE-unsaved2024529-27392-1upclbq.1rf7\REST-API\REST-API.ino:57:4: error: #error To be use with ARDUINOJSON_VERSION v5.13.5-
   57 |   #error To be use with ARDUINOJSON_VERSION v5.13.5-
      |    ^~~~~
In file included from C:\Users\virco\AppData\Local\Temp\.arduinoIDE-unsaved2024529-27392-1upclbq.1rf7\REST-API\REST-API.ino:79:
C:\Users\virco\OneDrive\Documents\Arduino\libraries\HTTPS_Server_Generic\src/HTTPS_Server_Generic.h:42:14: fatal error: openssl/ssl.h: No such file or directory
   42 |     #include "openssl/ssl.h"
      |              ^~~~~~~~~~~~~~~
compilation terminated.
exit status 1

Compilation error: #error To be use with ARDUINOJSON_VERSION v5.13.5-

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@virco virco added the Status: Awaiting triage Issue is waiting for triage label Jun 29, 2024
@Jason2866
Copy link
Collaborator

Jason2866 commented Jun 29, 2024

The standard library supported from espressif Arduino for ssl is mbedtls.

@virco
Copy link
Author

virco commented Jun 30, 2024

OK, is there an Arduino HTTPS WEbServer library that utilizes mbedtls?
Looks like all available packages at the moment rely on open openssl/ssl.h which was available prior Version 3 framework.

@Jason2866
Copy link
Collaborator

Jason2866 commented Jun 30, 2024

@virco
Copy link
Author

virco commented Jun 30, 2024

I looked all "https://github.com/espressif/arduino-esp32/tree/master/libraries/WebServer/examples" but didn't find https there, can you point out some examples with TLS 1.2 or TLS 1.3?

Thanks in advance!

@VojtechBartoska VojtechBartoska added Type: Question Only question and removed Status: Awaiting triage Issue is waiting for triage labels Jul 8, 2024
@al-TideLight
Copy link

I have this same issue with V3 and C6. I have not been able to find any HTTPS examples or working alternatives.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Question Only question
Projects
None yet
Development

No branches or pull requests

4 participants