When configuring the IoT Hub device client to use a certificate for my IoT Edge Gateway, in transparent mode, passing my certificate to IoTHubDeviceClient_LL_SetOption doesn't work. I had to modify the certs.c file and add my cert directly to the certificates array.
Is this the supported method or am I doing this incorrectly?
If this is is the only way to get this cert in, would it be possible to add another build flag similar to USE_BALTIMORE_CERT for using an IoT Edge cert instead? Maybe something like build.extra_flags=-DESP8266 -DDONT_USE_UPLOADTOBLOB -DUSE_IOT_EDGE_CERT.
When configuring the IoT Hub device client to use a certificate for my IoT Edge Gateway, in transparent mode, passing my certificate to IoTHubDeviceClient_LL_SetOption doesn't work. I had to modify the certs.c file and add my cert directly to the certificates array.
Is this the supported method or am I doing this incorrectly?
If this is is the only way to get this cert in, would it be possible to add another build flag similar to USE_BALTIMORE_CERT for using an IoT Edge cert instead? Maybe something like build.extra_flags=-DESP8266 -DDONT_USE_UPLOADTOBLOB -DUSE_IOT_EDGE_CERT.