xyderos

Results 8 comments of xyderos

Hi! There might be several issues, but I can try suggesting some stuff. ``` public bool ValidateCertificates(MqttClientCertificateValidationEventArgs args) { var chain = new X509Chain(); chain.ChainPolicy = new X509ChainPolicy { DisableCertificateDownloads...

This is the testing code snippet, the output is always false ``` using System.Security.Authentication; using System.Security.Cryptography.X509Certificates; using ConsoleApp1; using MQTTnet; using MQTTnet.Client; using MQTTnet.Extensions.ManagedClient; using MQTTnet.Protocol; var caCert =X509Certificate.CreateFromCertFile(@"../../../../../ca/certificate.crt"); var...

> I think you have at least two issues. Did you add any of the certificates to the machine’s certificate store? I don’t see where you specified the address of...

> Maybe I missed it - what’s the environment you’re operating in? Windows? Linux? > […](#) > On Wed, Oct 25, 2023, at 08:46, xyderos wrote: > > I think...

> https://github.com/Azure-Samples/MqttApplicationSamples/tree/main/scenarios/getting_started#fly-configure-mosquitto Thank you for your response, I went through the tutorial and it seems that I am following the exact same logic. Since I am authenticating via the pub...

> @xyderos can you try MqttApplicationSamples? If you have any issues, please open a ticket in that repo, and we will help you. Hi again, I tried generating some certificates...

@rido-min Absolutely, will move it there!