none
iothub_ll_client_x509_sample fails RRS feed

  • Question

  • I run in ubuntu14.04 64bit system, and I only modify the connection string.

    Creating IoTHub handle
    Sending message 1 to IoTHub
    Error: Time:Tue Sep  4 10:31:26 2018 File:/home/hunter/oss/azure/azure-iot-sdk-c/c-utility/adapters/x509_openssl.c Func:log_ERR_get_error Line:29 Failure creating private key evp_key
    Error: Time:Tue Sep  4 10:31:26 2018 File:/home/hunter/oss/azure/azure-iot-sdk-c/c-utility/adapters/x509_openssl.c Func:log_ERR_get_error Line:36   [0] error:0909006C:PEM routines:get_name:no start line
    Error: Time:Tue Sep  4 10:31:26 2018 File:/home/hunter/oss/azure/azure-iot-sdk-c/c-utility/adapters/x509_openssl.c Func:log_ERR_get_error Line:36   [1] error:09091064:PEM routines:PEM_read_bio_ex:bad base64 decode
    Error: Time:Tue Sep  4 10:31:26 2018 File:/home/hunter/oss/azure/azure-iot-sdk-c/c-utility/adapters/tlsio_openssl.c Func:log_ERR_get_error Line:422 unable to use x509 authentication
    Error: Time:Tue Sep  4 10:31:26 2018 File:/home/hunter/oss/azure/azure-iot-sdk-c/c-utility/adapters/tlsio_openssl.c Func:tlsio_openssl_open Line:1239 Failed creating the OpenSSL instance.
    Error: Time:Tue Sep  4 10:31:26 2018 File:/home/hunter/oss/azure/azure-iot-sdk-c/umqtt/src/mqtt_client.c Func:mqtt_client_connect Line:989 Error: io_open failed
    Error: Time:Tue Sep  4 10:31:26 2018 File:/home/hunter/oss/azure/azure-iot-sdk-c/iothub_client/src/iothubtransport_mqtt_common.c Func:SendMqttConnectMsg Line:2037 failure connecting to address huntert1.azure-devices.net.
    Sending message 2 to IoTHub
    Sending message 3 to IoTHub
    Sending message 4 to IoTHub
    Sending message 5 to IoTHub
    Error: Time:Tue Sep  4 10:31:27 2018 File:/home/hunter/oss/azure/azure-iot-sdk-c/c-utility/adapters/x509_openssl.c Func:log_ERR_get_error Line:29 Failure creating private key evp_key
    Error: Time:Tue Sep  4 10:31:27 2018 File:/home/hunter/oss/azure/azure-iot-sdk-c/c-utility/adapters/x509_openssl.c Func:log_ERR_get_error Line:36   [0] error:0909006C:PEM routines:get_name:no start line
    Error: Time:Tue Sep  4 10:31:27 2018 File:/home/hunter/oss/azure/azure-iot-sdk-c/c-utility/adapters/x509_openssl.c Func:log_ERR_get_error Line:36   [1] error:09091064:PEM routines:PEM_read_bio_ex:bad base64 decode
    Error: Time:Tue Sep  4 10:31:27 2018 File:/home/hunter/oss/azure/azure-iot-sdk-c/c-utility/adapters/tlsio_openssl.c Func:log_ERR_get_error Line:422 unable to use x509 authentication
    Error: Time:Tue Sep  4 10:31:27 2018 File:/home/hunter/oss/azure/azure-iot-sdk-c/c-utility/adapters/tlsio_openssl.c Func:tlsio_openssl_open Line:1239 Failed creating the OpenSSL instance.
    Error: Time:Tue Sep  4 10:31:27 2018 File:/home/hunter/oss/azure/azure-iot-sdk-c/umqtt/src/mqtt_client.c Func:mqtt_client_connect Line:989 Error: io_open failed
    Error: Time:Tue Sep  4 10:31:27 2018 File:/home/hunter/oss/azure/azure-iot-sdk-c/iothub_client/src/iothubtransport_mqtt_common.c Func:SendMqttConnectMsg Line:2037 failure connecting to address huntert1.azure-devices.net.
    Error: Time:Tue Sep  4 10:31:29 2018 File:/home/hunter/oss/azure/azure-iot-sdk-c/c-utility/adapters/x509_openssl.c Func:log_ERR_get_error Line:29 Failure creating private key evp_key
    Error: Time:Tue Sep  4 10:31:29 2018 File:/home/hunter/oss/azure/azure-iot-sdk-c/c-utility/adapters/x509_openssl.c Func:log_ERR_get_error Line:36   [0] error:0909006C:PEM routines:get_name:no start line
    Error: Time:Tue Sep  4 10:31:29 2018 File:/home/hunter/oss/azure/azure-iot-sdk-c/c-utility/adapters/x509_openssl.c Func:log_ERR_get_error Line:36   [1] error:09091064:PEM routines:PEM_read_bio_ex:bad base64 decode
    Error: Time:Tue Sep  4 10:31:29 2018 File:/home/hunter/oss/azure/azure-iot-sdk-c/c-utility/adapters/tlsio_openssl.c Func:log_ERR_get_error Line:422 unable to use x509 authentication
    Error: Time:Tue Sep  4 10:31:29 2018 File:/home/hunter/oss/azure/azure-iot-sdk-c/c-utility/adapters/tlsio_openssl.c Func:tlsio_openssl_open Line:1239 Failed creating the OpenSSL instance.
    Error: Time:Tue Sep  4 10:31:29 2018 File:/home/hunter/oss/azure/azure-iot-sdk-c/umqtt/src/mqtt_client.c Func:mqtt_client_connect Line:989 Error: io_open failed
    Error: Time:Tue Sep  4 10:31:29 2018 File:/home/hunter/oss/azure/azure-i

    What's wrong?


    Tuesday, September 4, 2018 2:41 AM

Answers