This requires a mechanism to get the ssl certificate info to use on the port of httplistener connection.
Possible solutions:
Current behavior:
/cc @davidsh @DavidGoll
@Priya91 on Mono, HttpListener is searching for certs in a hardcoded path: https://github.com/mono/mono/blob/3f779475e3fc982e312212d5dbbd86515eddfc0c/mcs/class/System/System.Net/HttpListener.Mono.cs#L64
(also see this Stack Overflow discussion).
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.
Most helpful comment
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.