Fix for pull request #85, modified a few for WebSocketServer.SslConfiguration property

This commit is contained in:
sta
2014-11-01 12:26:32 +09:00
parent 689cc28532
commit 0de32bbacc
2 changed files with 6 additions and 6 deletions

View File

@@ -29,8 +29,8 @@ namespace Example2
#endif
/* To provide the secure connection.
var cert = ConfigurationManager.AppSettings["ServerCertFile"];
var password = ConfigurationManager.AppSettings["CertFilePassword"];
wssv.Certificate = new X509Certificate2 (cert, password);
var passwd = ConfigurationManager.AppSettings["CertFilePassword"];
wssv.SslConfiguration.ServerCertificate = new X509Certificate2 (cert, passwd);
*/
/* To provide the HTTP Authentication (Basic/Digest).