statianzo/Fleck — Issue #25: Certificate keys
Author: ChristianWeyer
Created: 2011-11-17 14:19:37+00:00
State: open

On the home page it says:

---
Enabling secure connections requires two things: using the scheme wss instead of ws, and pointing Fleck to an x509 certificate containing a public and private key

var server = new WebSocketServer("wss://localhost:8431");
server.Certificate = "MyCert.cer";
server.Start(socket =>
{
//...use as normal
});
---

AFAIK, if a cert file should contain a private key it has to be a .pfx, not a .cer - and if it has a private key we need a password... right?