{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"open","milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/500596b2173de37be9e388d43cf8f91f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"500596b2173de37be9e388d43cf8f91f","url":"https://api.github.com/users/ChristianWeyer","login":"ChristianWeyer","id":888718},"assignee":null,"updated_at":"2011-11-17T14:19:37Z","labels":[],"comments":0,"closed_at":null,"url":"https://api.github.com/repos/statianzo/Fleck/issues/25","body":"On the home page it says:\r\n\r\n---\r\nEnabling 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\r\n\r\n  var server = new WebSocketServer(\"wss://localhost:8431\");\r\n  server.Certificate = \"MyCert.cer\";\r\n  server.Start(socket =>\r\n    {\r\n      //...use as normal\r\n    });\r\n---\r\n\r\nAFAIK, 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?\r\n","html_url":"https://github.com/statianzo/Fleck/issues/25","title":"Certificate keys","number":25,"id":2269170,"created_at":"2011-11-17T14:19:37Z"},"action":"opened"}