-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Implement https connection support for the managed HttpListener #19752
Comments
/cc @davidsh @DavidGoll I couldn't find any documentation on how this could be achieved on Xamarin. |
@CIPop Yes, that's the second bullet in the description. We could re-use the dotnet crypto cert-store for this purpose, similar to mono, instead the hardcoded path here will be some custom dotnet path. |
@davidsh Document this as a compat issue for UWP6.0. This will require significant design for a cross-plat implementation. |
Added documentation to https://github.com/dotnet/corefx/wiki/ApiCompat |
Any news on this ? |
It would be great if it was possible to supply the certificate as a stream. It would remove additional steps that are required on each OS to install the certficate and at the same time it would allow developers to control themselves how and where is the certificate stored. |
Just add an API that accepts a path to certificate file to use for all OS. We don't need any special tools like httpcfg, this only makes using HttpListener much worse experience. Let developers have full control over certificates (where and how they are stored) without need to use external tools. |
Are there any formal/informal timelines on when we could expect a resolution to this? Or at minimum a reasonable workaround? Thanks! |
As it stands today the documentation for this class is very misleading https://learn.microsoft.com/en-us/dotnet/api/system.net.httplistener?view=net-7.0. First, it provides no indication https is only supported on windows. Some people may begin building something with plain http and then face the missing support by the time they were expecting to simply enable https. Second, it provides no indication the class is soft deprecated. |
Hello, why not implementing a delegate to let the user decide to use it,
|
啥时候能支持啊....HttpListener挺好用的,如果能支持HTTPS就更加好了。 |
This requires a mechanism to get the ssl certificate info to use on the port of httplistener connection.
Possible solutions:
Current behavior:
The text was updated successfully, but these errors were encountered: