Skip to main content

Hi Community,

I am encountering an issue when attempting to connect to Azure IoT Hub using the AzureIOTConnect transformer in FME. Despite successfully generating an X.509 certificate using OpenSSL and being able to connect to Azure IoT Hub through a Python script, I am unable to establish a connection using FME.

 

Here are the steps I followed:

Generated the device key and certificate using the OpenSSL;

The generated certificate includes the following relevant details:

  • X509v3 Basic Constraints: CA:FALSE
  • X509v3 Extended Key Usage: TLS Web Client Authentication

The connection works perfectly when tested through a Python script, but fails when using the AzureIOTConnect transformer in FME. 

The error message returned by FME is as follows:

  • Failed to connect to the broker. The reason given is ' SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)'

 

Given the details above, I am seeking guidance on the following:

  • Are there any specific configuration requirements in FME for using X.509 certificates with Azure IoT Hub?
  • Is the extension X509v3 Basic Constraints: CA:FALSE appropriate for this scenario?
  • Could the issue be related to TLS/SSL compatibility between FME and Azure IoT Hub?
  • Any other troubleshooting steps you would recommend?

Hello @fabio.simao, thank you for posting. Are you able to submit a support case to investigate this? It will be helpful to submit a reproduction that shows the working / non-working scenarios. Please let me know if you have any issues submitting a case. Happy to help, Kailin.


Hello @kailinatsafe, thanks for the reply. I will forward this case to support. See you later.


Reply