Azure / Azure/azure-iot-sdk-java

Add support for device client to use AMQPS_WS with X509 authentication

Open
#728 4 comments 0 reactions 0 assignees View on GitHub
enhancement IoTSDK
Dominant language
Java
Stars
210
Forks
238
Avg merge
4d 9h
Merged PRs (30d)
7

Description

I tested out removing the "iothob-no-client-cert=true" query string from the amqp stack [here](https://github.com/Azure/azure-iot-sdk-java/blob/d7e1d84cc0e4003f60dd12ffa75d4d43ce850224/device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/amqps/AmqpsIotHubConnection.java#L58) and it allowed for the connection to succeed sometimes. It's about a 50/50 chance of a successful connection and for a "An existing connection was closed by the remote host" transport exception.

I'm not sure if this is due to some persisted state (not cleaning up the previous connection correctly?), so this needs further investigation. It's worth solving because we want to provide support for AMQPS_WS to use CA signed certs like all the other protocols in this SDK will (after #727 ).

Repro steps are to run the SendEventX509 sample with CA signed certs and AMQPS_WS configured.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.