Comments (3)
Hi,
the library accept a list of certificates, not just one. Look at MqttClientTlsOptions. The Certificates property is a list of bytes.
The server you're talking about really needs a CA certificate and PKey? Strange. You should just sends your client certificate.
JJ
from mqttnet.
Hi,
I am not an expert of certificate handling in .net but internally the certificate is passed into the following property of the framework: StreamSocket.Control.ClientCertificate
More info: https://docs.microsoft.com/en-us/uwp/api/windows.networking.sockets.streamsocketcontrol
I also found some more info about a similar problem (but c++) here: https://social.msdn.microsoft.com/Forums/vstudio/en-US/4264f6db-4c17-484f-befc-5eb8b49b98df/uwpc-streamsocket-client-certificate?forum=wpdevelop
Maybe this helps...
Best regards
Christian
from mqttnet.
@raymondarvidsson I assume you don't need more assistance. If I am wrong please reopen this ticket.
from mqttnet.
Related Issues (20)
- 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
- Get the ClientID of Sender client HOT 1
- How do i authorize whit Username and Password? HOT 1
- Trying to run this sample code(https://github.com/dotnet/MQTTnet) from visual studio 2022 but getting many errors HOT 1
- Not able to run the sample code HOT 2
- Not able to establish tls connection with azure event grid mqtt server HOT 2
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.