Revert "replace raw byte with x509 certificate to allow specify passwords"

This reverts commit a38623cb5a.
This commit is contained in:
Anton Yaroshenko
2019-11-17 21:23:16 +01:00
committed by Christian Kratky
parent b2c2209b4f
commit 5db05f186f
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(certificate);
certificates.Add(new X509Certificate(certificate));
}
}