Federico Mariani created CAMEL-26811:
----------------------------------------

             Summary: camel-azure-iothub: X.509 certificate authentication
                 Key: CAMEL-26811
                 URL: https://issues.apache.org/jira/browse/CAMEL-26811
             Project: Camel
          Issue Type: Improvement
          Components: camel-azure
            Reporter: Federico Mariani


The component in [PR #29489|https://github.com/apache/camel/pull/29489] only 
accepts device connection strings with a shared access key. Microsoft 
recommends X.509 certificates over shared access signatures for production 
devices.

The device SDK already supports it: a connection string with {{x509=true}}, 
plus a {{ClientOptions}} carrying an {{SSLContext}} with the device certificate 
and key ({{ClientOptions}} javadoc: "the sslContext will be used for x509 
authentication").

h3. Proposal
Endpoint options for the device certificate and key, or an 
{{SSLContextParameters}} reference as other Camel components use, passed to the 
{{DeviceClient}} through {{ClientOptions}}.

_Claude Code on behalf of Croway_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to