Comments (2)
Hi,
sure. Please have a look at the MqttClientOptions. There you can find the TlsOptions. In most cases you only need to set UseTls to true.
Best regards
Christian
from mqttnet.
Hi again,
works fine. Just had to do this:
options.TlsOptions.UseTls = true;
Done and happy ^^
Best regards,
Zuendelmeister
from mqttnet.
Related Issues (20)
- TLS for WebSocket and MQTT
- Sometime the client can't connecte to server even if the MqttConnectionValidate method finished HOT 5
- Create WebServer (need mqtt://) as Worker Service HOT 1
- mqtt-exception : ssh handshake failed with openssl error - SSL_ERROR_ZERO_RETURN
- [question] Server sample DoBind error : System.Net.Sockets.SocketException (10013) HOT 1
- Recommended way to check for empty PayloadSegment property HOT 1
- Support Unix Domain Sockets HOT 4
- DNS SRV HOT 1
- Using encrypted TCP and WebSockets together
- My client receive Disconnected when I set mqqtv5 to connect emqx bloker HOT 1
- Mqtt client with web API
- Client and server channels based on WebsocketSharp implementation of web sockets
- The server shuts down too slowly. HOT 2
- Support for RecyclableMemoryManager, client write support for ReadOnlySequence as payload
- MqttClient.ConnectAsync() with Tls enabled: 'RemoteCertificateChainErrors' (RevocationStatusUnknown) on Android, but not on iOS HOT 1
- MQTTnet.Exceptions.MqttCommunicationTimedOutException HResult=0x80131500 Message=The operation has timed out. Source=mscorlib StackTrace: at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in System.Runtime.CompilerServices\TaskAwaiter.cs:line 78 此异常最初是在此调用堆栈中引发的: HOT 1
- Issue with Establishing Secure WebSocket Connection to AWS IoT MQTT Server on .NET Framework 4.x
- Requesting the last data from mqtt broker HOT 1
- mqttnet is missing NuGet package README file
- mqttnet.extensions.managedclient is missing NuGet package README file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mqttnet.