-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Send client and root CA certificate #1175
Comments
Team MQTTnet, I am also facing the same issue. |
I am no certificate expert so I cannot help much here. But you may need to search around the APIs from .NET directly because this library uses them directly without doing something special. |
I'd suggest you use something like MQTT Explorer as it has certificate support and try out your certificate chain to get the working combination for the mqtt server you are trying to access via MQTTnet. For the mosquitto server, I used this guide http:https://www.steves-internet-guide.com/mosquitto-tls/ and was able to configure my mosquitto server to support a self signed certificate. From this guide I only had to copy the CA certificate file to the MQTT Explorer client. |
Describe your question
I have a pkcs12 file that contains the client certificate, CA, and private key.
Moquette Server (specific application requirements) expects that client using Certificates must send the full certificate chain, including the uploaded CA certificate.
Using the code below, the server only receives the client's certificate. Is it possible using MQTTnet to send also CA_Certificate?
The text was updated successfully, but these errors were encountered: