-
Notifications
You must be signed in to change notification settings - Fork 48
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
Is SSL supported? #31
Comments
Hey Kchinnam, Currently ssl is not supported and it will be hard to implement because Windows Universal (for now) does not have server-side ssl support. The underlying StreamSocketListener does not support upgrading the StreamSocket to SSL, see: The only way that I could see of doing it, is to use some kind of library to implement ssl on top of the StreamSocketListener stream. |
Hi all, It's something that I need as well. I'm not that familiar with https, but as the msdn article (as linked by @Jark) stated:
If anyone has another idea to implement this, let me know! |
Hi Tom, I understand that only Client implements "upgrade" - this is used for the case that a server forces (wants) SSL. Maybe this link helps a bit Just my two cents - and I really love your server |
Hi ManniAt, I used that documentation link to provide some proof that it couldn't be done, if it could be done there would be a link to what you can use to accomplish it. I did read many more articles / forum posts before posting that and there really seems to be no Windows Universal alternative. We can't use System.Net.Security.SslStream because it is not implemented in Windows Universal, the server-side ssl support is simply not there. If you were really keen to get it working I would look either into including this + supporting classes into the project somehow: https://github.com/dotnet/corefx/blob/master/src/System.Net.Security/src/System/Net/SecureProtocols/SslStream.cs, or use https://github.com/openssl/openssl to implement ssl. Both solutions are quite involved and hard to get right (read: secure) without having detailed knowledge of how the ssl protocol works. I think for now our best hope is to wait on Microsoft to implement this for us. |
Would there be any (standard) alternative for SSL, at least to provide some basic security? And I don't mean "basic authentication" which isn't secure unless you use SSL. |
If you're in control of both client and server then you could encrypt the payload and pass it via the supported http protocol. |
Hello Everyone, I am trying to create SSL Server in UWP, and i want to implement SSL handshake manually. I am able to create http server not https. if there is any possible ways thanks. |
Hi @sureshdev, Please have a look at my previous reply on this thread. It contains some pointers of now to do this. Cheers, Jark |
Is there any hope we can get SSL working now on Windows IoT? The latest chrome is now marking pages as insecure with password fields. |
Fot restup there isn't much hope, but there are some signs for ASP.NET core on Win10IoT, check this post |
There are some paid libraries which provides SSL server socket on UWP. See this, I am not sure how it is implemented in there if
|
Hi,
I'm guessing no but just wanted to check, is there an option to run the web server as as HTTPS server? I was going to use this project to implement an API server that would involve authentication.
If not, any pointers on implementing HTTPS support myself?
The text was updated successfully, but these errors were encountered: