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

Add HttpServer.listenOnSecure #26171

Open
zanderso opened this issue Apr 1, 2016 · 3 comments
Open

Add HttpServer.listenOnSecure #26171

zanderso opened this issue Apr 1, 2016 · 3 comments
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. library-io type-enhancement A request for a change that isn't a bug

Comments

@zanderso
Copy link
Member

zanderso commented Apr 1, 2016

HttpServer has a named constructor listenOn that takes a ServerSocket. A SecureServerSocket is not a ServerSocket and so looks like it can't be passed to listenOn. Without this, there is no way to set up a secure HttpServer with an onBadCertificate callback.

@zanderso zanderso added area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. library-io type-enhancement A request for a change that isn't a bug labels Apr 1, 2016
@zanderso
Copy link
Member Author

zanderso commented Apr 1, 2016

HttpServer.bindSecure should also take an optional named onBadCertificate callback parameter.

@makon
Copy link

makon commented Mar 3, 2024

@zanderso Did you find any workaround for this issue?
I am trying to set the requireClientCertificate property from SecureServerSocket to use it in an HttpServer, but I can't find a solution for it.

@zanderso
Copy link
Member Author

zanderso commented Mar 4, 2024

cc @brianquinlan may now be more familiar with this area.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. library-io type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

2 participants