Closed EP-u-NW closed 7 months ago
Good job!
@kevmoo Not sure what happened to this PR? I have it working for a small project, all I needed to do was add support for setting the password as I quickly used the self signed cert from: https://github.com/dart-archive/dart-tutorials-samples/tree/master/httpserver/bin . Would you open to merging this PR if I or original author get it rebased onto current main branch and add password support?
@maks – feel free to send another PR "inspired" by this
As suggested in #1 dart (and shelf) already come with SSL support. The only thing needed to use SSL is to tell shelf to use an initalized
SecurityContext
, so I added two simple parameters, which are realy just "command line proxies" for the appropriateSecurityContext
methods.