TLS on ASP.NET5.0 #1236
-
Is TLS now working for MQTT-Server as middleware on ASP.NET Core 5.0? I've seen the note on 3.1, but on 5.0 there is no info. The Server is still accessible on 1883 without tls and on 8884 is not connecting. I know that it works over websockets but i need a connection without websockets too |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Yep, I have it running up for some times already with .Net5. Take https://github.com/SeppPenner/NetCoreMQTTExampleCluster/tree/master/src/NetCoreMQTTExampleCluster.Cluster as a reference project (and remove the Orleans and Serilog stuff if you don't need it --> Clustering and logging). It should work with HTTPS only. |
Beta Was this translation helpful? Give feedback.
-
Sorry for the late answer. This works for me now. The Problem was missing second "l.UseHttps()". Commented below.
|
Beta Was this translation helpful? Give feedback.
Sorry for the late answer. This works for me now. The Problem was missing second "l.UseHttps()". Commented below.