Skip to content

[BUG][.NET] Cannot do x509 auth without also providing a CA cert #1006

@timtay-microsoft

Description

@timtay-microsoft

Product

.NET SDK

Azure Iot Operations version

N/A

What happened?

The "UseTls" flag in MqttConnectionSettings also enables/disables x509 client certificate usage.

From some testing with Event Grid, some brokers do allow an MQTT client to connect with x509 auth even without using a CA cert during the TLS handshake. We should probably allow users to do x509 auth independent of providing a server CA certificate

List the steps to reproduce

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions