You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that the "certificate weakening" TlsOptions like IgnoreCertificateChainErrors, IgnoreCertificateRevocationErrors, AllowUntrustedCertificates and CertificateValidationCallback have no effect when using web socket connections.
I understand this is because the underlying api (System.Net.WebSockets) does not support this (at least not in all target frameworks), but I think it should be noted somewhere - that would have saved me several hours of trial and error...
The text was updated successfully, but these errors were encountered:
the issue here is that for websockets we delegate the handling to kestrel. I didnt investigate how to flow the mqttnet tls options into kestrel so maybe there is a way to get that done.
I noticed that the "certificate weakening" TlsOptions like IgnoreCertificateChainErrors, IgnoreCertificateRevocationErrors, AllowUntrustedCertificates and CertificateValidationCallback have no effect when using web socket connections.
I understand this is because the underlying api (System.Net.WebSockets) does not support this (at least not in all target frameworks), but I think it should be noted somewhere - that would have saved me several hours of trial and error...
The text was updated successfully, but these errors were encountered: