Topic: How handle to certificate expiray in device
I am using wolfSSL libaray for my PIC32MZ based project, I have HTTPS and MQTT working with Azure IOT hub. Currently the certificate expiry time is 1 year. Currently Added as static in code
Since Https using this certificate time for validation and complete the handshake procedure with server.
Question is when this certificate expired after one simply device failed to connect with server again and handshake failed due to this.
I am looking for standard way to handle this expiry time so device always be connected to server for long year.
Now , if there is such certificate have its longer expiry period lets say 20 years from the start date then this will become very straightforward to use it for long time.
but what if server provided certificate have only 1 year expiry time and every year it has to renewed with new one then how we can handle this in code using wolfSSL code.
please provide some support on this issue and will have more discussion on this.