replace raw byte with x509 certificate to allow specify passwords

This commit is contained in:
Anton Yaroshenko
2019-11-17 19:42:23 +02:00
parent 851db2e808
commit a38623cb5a
6 changed files with 6 additions and 6 deletions
@@ -85,7 +85,7 @@ namespace MQTTnet.Extensions.WebSocket4Net
{
foreach (var certificate in _webSocketOptions.TlsOptions.Certificates)
{
certificates.Add(new X509Certificate(certificate));
certificates.Add(certificate);
}
}