-
Notifications
You must be signed in to change notification settings - Fork 176
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
HTTPS/WSS support #26
Comments
Hi @sameera, did you already try to use the EmbedIO binding to wss with a certificate in your machine? For example following these steps to do the cert thing: http://stackoverflow.com/questions/11403333/httplistener-with-https-support |
Hi, |
The implementation in socketsharp looks really good, I'm going to take a deep look and let you know if we move to implement something similar. |
Just checking in: Have you decided on either way? |
@sameera Could you please try the following nuget? This is the simplest, most transparent way of setting certificates on ports and bindings. Please check it out and let us know how it goes. https://www.nuget.org/packages/SslCertBinding.Net/ |
Thanks Mario. In my scenario, I have a standalone executable that I distribute which has the embedded websocket server. I want to embed the X509 certificate in the app as an embedded resource. I got this working fine with WebSocket-Sharp library. But, the implementation of WSS is almost done from scratch as it defines it's own HttpListener, WebSocketContext etc. rather than using the native .NET counterparts. So, (among other reasons) I'd prefer to use a EmbedIO instead if possible. |
Hi, |
This is an old thread. I'm closing this issue because there currently are no plans to implement X509 certs within EmbedIO but rather configure them via standard methods. |
As an update, a combination of the following methods/packages should work: |
Is there a way to enable wss support?
The text was updated successfully, but these errors were encountered: