Giter Site home page Giter Site logo

Number of certificates for UWP about mqttnet HOT 3 CLOSED

dotnet avatar dotnet commented on May 13, 2024
Number of certificates for UWP

from mqttnet.

Comments (3)

JTrotta avatar JTrotta commented on May 13, 2024

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.

chkr1011 avatar chkr1011 commented on May 13, 2024

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.

chkr1011 avatar chkr1011 commented on May 13, 2024

@raymondarvidsson I assume you don't need more assistance. If I am wrong please reopen this ticket.

from mqttnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.