- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i Team,
I would like to try X509 security method MQTT over wiced studio for Murata type 1LD module.
Regular SAS token method is working with link MQTT with Microsoft Azure
The credentials are validated with PC application "MQTT Explorer". X509 does'nt required CA Root file from client side. Only Client Cert and Key.
Also username is must and password is not required.
I have tried following changes. But, not connecting to server .
Tried Wiced version 6.4 as well. The code stuck at Opening connection. ....
Please help.
Thanks and Regards
Sreejith KK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Can you please provide me with the application code you are working at to reproduce the same error ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Aditi,
Thank you for response.
Refer below link . Source code is attached "pub_sub_azure.zip".
Thanks and Regards
Sreejith KK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Since you have mentioned that X509 doesn't required CA Root file from client side, are you using self-signed certificates instead for your application?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Aditi,
The server works with help of only Client certificate and client key. CA root file is not mandatory.
it will be great , if you can help me on this.
Thanks and Regards
Sreejith KK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I ran the same code pub_sub_azure.zip and was able to successfully connect . You need to add the password which is of the format "SharedAccessSignature sr=xxx.azure-devices.net%2Fdevices%2Fxxx&sig=HmLVzmjAioHPM7VBmgOPapuhPc15eqAGYe7lbYrlK8w%3D&se=1506406521" and this SAS token is generated through the Device Explorer twin.
Following link will help:
Posting a Message to Azure IoT Hub
PFA
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Aditi,
I hope, you have clearly read my question which i posted earlier.
i have successfully tested this with SAS token method many times earlier with this code and now i am trying with X509 authentication method which doesn't required "Password" as well as "Root CA Certificate".
This method has proven in PC application as well as some Cellular modules. Please help if you can support with server communication method which i mentioned earlier.
Thanks and Regards
Sreejith KK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you please provide us the relative document you are using for azure as well as the azure document you are using for the security mechanism to better understand the problem.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Aditi,
This is what i am looking. I hope, this will make you clear now at least.
Meanwhile, i have verified my credentials with PC application "MQTT explorer" and its working. I hope, you will support me here.
Thanks and Regards
Sreejith KK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI Aditi,
Do you have some solution on my previous query ? It seems, this is latest communication method adopted by Azure MQTT and more people are following this.
Thanks and Regards
Sreejith KK