-
Notifications
You must be signed in to change notification settings - Fork 463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Edge CA certificate does not renew and SimulatedTemperature fails to connect #5788
Comments
At the moment, the edge CA certificate is only checked for expiry when a deployment is made. See |
@onalante-msft Thanks for the comment. When you mentioned "defers that task to service consumers". do we have to keep track of the edge ca certificate expiration date, manually delete the expired cert and restart iotedge to get a new valid cert? |
Response here suggests the opposite - that iotedge is supposed to manage certificates on a basic level (renewal). Azure/iot-identity-service#300 (comment)
|
Sorry, I should have been more clear. In this case, I would refer to |
This issue is being marked as stale because it has been open for 30 days with no activity. |
@onalante-msft @pmzara Would it be possible to create an issue in the identity service repository to track this feature? |
Hi folks, just want to let everyone know that we're actively working on this and hope to include the feature in an upcoming release soon. |
Same applies to #5787 |
Expected Behavior
When using EST certificate providers like GlobalSign or DigiCert, IoT Edge should renew the Edge CA certificate when it expires.
This happens when we have the device certificate setting in confim.toml as show below:
Current Behavior
iotedge was able to obtain a Edge ca certificate from EST server as shown below
Edge CA cert expired after 2 days

No certificate renewal happens
a MS SimulatedTemperatureSensor module which was deployed before the certificate expired, it was working but failed to connect after the cert expired
Steps to Reproduce
Provide a detailed set of steps to reproduce the bug.
1.Set up an EST server with Edge ca cert expires in 2 days
Context (Environment)
Host OS [e.g. Ubuntu 18.04, Windows Server IoT 2019]: Ubuntu 18.04
Architecture [e.g. amd64, arm32, arm64]: amd64
Container OS [e.g. Linux containers, Windows containers]: Linux
Output of
iotedge check
Device Information
Host OS [e.g. Ubuntu 18.04, Windows Server IoT 2019]: Ubuntu 18.04
Architecture [e.g. amd64, arm32, arm64]: amd64
Container OS [e.g. Linux containers, Windows containers]: Linux
Runtime Versions
iotedge 1.2.420211006.4
aziot-edged [run iotedge version]: https://github.com/Azure/iot-identity-service/suites/3964124249/artifacts/99607813
Edge Agent [image tag (e.g. 1.0.0)]:
Edge Hub [image tag (e.g. 1.0.0)]:
Docker/Moby [run docker version]:
Note: when using Windows containers on Windows, run
docker -H npipe:////./pipe/iotedge_moby_engine version
insteadLogs
aziot-edged logs
edge-agent logs
edge-hub logs
Additional Information
Please provide any additional information that may be helpful in understanding the issue.
The text was updated successfully, but these errors were encountered: