Hello @Ali Akbar Qureshi ,
Adding few more points to Sander's response.
Recommended Steps
- Run
iotedge check
. This tool has specific checks and recommendations for certificate settings. - Make sure the
hostname
setting in/etc/iotedge/config.yaml
is a hostname and not an ip address. - Update the iotedge runtime to latest
Recommended Documents
Understand how Azure IoT Edge uses certificates.
Question: In case of certificate expiry, why does the edgeHub , runtime and other modules do not stop working.
"The Edge Hub does not proactively drop established connections when its certificate expires. Any client that successfully connected before the new certificate expired would continue to send data."
Question: IoT Edge Runtime creates
- Workload CA certificate with expiry of 1 year
- Server Certificate with expiry of 90 days
Now it is expected that after 90 days the Server Certificate should get regenerated or renewed by IoT Edge Runtime and IoT edgeHub?
Yes, it should be automatic.
Please comment in the below section so that we can help you further.