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

TLS server #1740

Closed
4 tasks
igrr opened this issue Mar 9, 2016 · 10 comments
Closed
4 tasks

TLS server #1740

igrr opened this issue Mar 9, 2016 · 10 comments

Comments

@igrr
Copy link
Member

igrr commented Mar 9, 2016

Wrapping TLS server support into something like WiFiServerSecure should be pretty easy.

  • share axTLS context (SSL_CTX) between WiFiClientSecure and WiFiServerSecure
  • do SSL initialization in WiFiServerSecure
  • add some methods to load server certificate and private key from FS (similar to WiFiClientSecure)
  • might need some tweaks to ESP8266WebServer to make it https-aware

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@bbasil2012
Copy link

do SSL initialization in WiFiServerSecure

@AdamMiltonBarker
Copy link

Is this completed now? I am very happy if it is :D Any docs anywhere for this ?

@igrr
Copy link
Member Author

igrr commented Jul 18, 2016

No, this is an open issue.

@AdamMiltonBarker
Copy link

Ok thanks is there much progress with it or ETA ?

@yhua537
Copy link

yhua537 commented Sep 6, 2016

Any update on TSL server?

@me-no-dev
Copy link
Collaborator

I have Tls server working with ESPAsyncTCP. Requires git version of this repo and a define in the lib to be changed. Running ssl server eats heap ;) monitor it or get exceptions if you run out.

@yhua537
Copy link

yhua537 commented Sep 6, 2016

Thanks, i was reading your ESPAsyncTCP, look like have to convert my standard web server to async version. Any chance of merging async server code back into standard esp8266/Arduino library? And, (outside this discussion) using a similar style of functions server.arg instead of request -> arg for an easier conversion?

@me-no-dev
Copy link
Collaborator

Server.arg is not an option here, because in async you are handling multiple requests at the same time and each has its own args and more. I doubt changing server.arg to request->arg is that big of a deal ;) and also i never meant it to be a drop-in replacement

@yhua537
Copy link

yhua537 commented Sep 7, 2016

Thanks for explanation.

@igrr
Copy link
Member Author

igrr commented May 8, 2017

#3001 contains an implementation of WiFiServerSecure. Haven't reviewed/tested it yet, if anyone is interested in this, please try the PR.

@igrr igrr modified the milestones: 2.4.0, 2.5.0 Dec 27, 2017
@igrr igrr modified the milestones: 2.5.0, 2.4.1 Jan 16, 2018
@igrr igrr closed this as completed Mar 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants