Comments (1)
Please follow the guidelines in the documentation, examples and tutorials available.
https://mongoose.ws/documentation/tutorials/http-server/#tls-support
The TLS tutorial explains how to add TLS support to servers (and clients, by the way). Some of the examples cited here already have TLS support included, check the "How to build" section in the TLS tutorial for specific information on building options for your OS.
https://mongoose.ws/documentation/tutorials/tls/#windows
Only what the example provides in its Makefile is supported
https://github.com/cesanta/mongoose/tree/master/examples/http-restful-server
mbedtls is supported:
mongoose/examples/http-restful-server/Makefile
Lines 10 to 32 in 6386cdf
This explains what Mongoose needs to be built with one of the supported TLS libraries:
https://mongoose.ws/documentation/tutorials/tls/#how-to-build
How to build with that library in your system under your particular use is beyond us. Follow those tutorials, understand your system, understand your tools
from mongoose.
Related Issues (20)
- Prefix PHY_* constants in STM32 drivers with MG_ to avoid name conflicts
- Rename MG_ENABLE_FILE to MG_ENABLE_POSIX_FS
- MG_ARCH_FREERTOS_LWIP is not available in Mongoose 7.12 HOT 1
- Mongoose documentation SSL/TLS tutorial is inaccurate for mg_tls_opts. HOT 2
- Mongoose prematurely closes connections when the second request in a pipeline is invalid
- Mongoose closes the connection without responding to POST requests that don't have explicit lengths HOT 2
- Discrepancy Between Mongoose Versions on Espressif Component Registry and Official Release HOT 1
- The maximum DNS response count should be a larger value HOT 1
- Mbedtls error and memory leak when connecting through WebSocket HOT 1
- Reading post data from https connection fails now and then HOT 24
- bind define conflict between "lwip/sockets.h" and c++ <functional> HOT 1
- Remove examples/device-dashboards/screenshots
- Change struct mg_str :: ptr to struct mg_str :: buf
- Device Dashboard tutorial - nitpick changes
- Simplify cmsispack mongoose_custom.h HOT 3
- Enforce text/html Content-Type for Custom 404 Page Responses Regardless of Requested URI Extension HOT 2
- Reading larger POST data with enabled tls fails HOT 1
- Reading larger POST data with enabled tls fails HOT 5
- Latest release (7.13) missing CMSIS Pack Assets HOT 3
- 7.13 MG_EV_READ event has no data HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mongoose.