Skip to content
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

How to use tpm private key for TLS with IoT Hub SDK (Not TPM Attestation) - for DeviceAuthenticationWithX509Certificate #3421

Open
rogrok opened this issue Jan 4, 2024 · 4 comments
Labels
enhancement New feature or request. IoTSDK Tracks all IoT SDK issues across the board question Further information is requested.

Comments

@rogrok
Copy link

rogrok commented Jan 4, 2024

No description provided.

@rogrok rogrok added the question Further information is requested. label Jan 4, 2024
@github-actions github-actions bot added the IoTSDK Tracks all IoT SDK issues across the board label Jan 4, 2024
@rogrok rogrok changed the title How to use tpm private key for TLS with IoT Hub SDK (Not TPM Attestation) How to use tpm private key for TLS with IoT Hub SDK (Not TPM Attestation) - for DeviceAuthenticationWithX509Certificate Jan 4, 2024
@rogrok
Copy link
Author

rogrok commented Jan 4, 2024

The documentation here https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.devices.client.deviceauthenticationwithx509certificate?view=azure-dotnet states that the Certificate private key should be in the store or in the object.

Certificate | Gets or sets the X.509 certificate associated with this device. The private key should be available in the X509Certificate2 object, or should be available in the certificate store of the system where the client will be authenticated from.

@timtay-microsoft
Copy link
Member

Currently, we don't support this scenario. The only TPM-based authentication we support right now is symmetric key-based

@timtay-microsoft timtay-microsoft added the enhancement New feature or request. label Jan 8, 2024
@rogrok
Copy link
Author

rogrok commented Jan 8, 2024

Thanks Tim, is there a plan to add this for future ?

@timtay-microsoft
Copy link
Member

We don't have any immediate plans to add it, but it is possible we have time in the future to make this happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request. IoTSDK Tracks all IoT SDK issues across the board question Further information is requested.
Projects
None yet
Development

No branches or pull requests

2 participants