The examples show how to add PEM certificate to the flash (howsmyssl_com_root_cert.pem)
All working fine to connect through HTTPS to our server. But a certificate has an expiration date.
So after September I imagine the communication will suddenly stop, and we will not be able to do OTA to fix it.
Are my assumptions correct? how can I make esp download latest PEM when it expires?
EDIT: there is a ENABLE_MBEDTLS_CERTIFICATE_EXPIRACY_CHECK option in menuconfig disabled by default.
Does this mean it will not break and I don't have to worry?
PEM Certificate expires in September?
- gunar.kroeger
- Posts: 143
- Joined: Fri Jul 27, 2018 6:48 pm
PEM Certificate expires in September?
"Running was invented in 1612 by Thomas Running when he tried to walk twice at the same time."
- gunar.kroeger
- Posts: 143
- Joined: Fri Jul 27, 2018 6:48 pm
Re: PEM Certificate expires in September?
found this post that seems to confirm it:gunar.kroeger wrote: ↑Fri May 31, 2019 2:21 pmEDIT: there is a ENABLE_MBEDTLS_CERTIFICATE_EXPIRACY_CHECK option in menuconfig disabled by default.
Does this mean it will not break and I don't have to worry?
viewtopic.php?t=7585
"Running was invented in 1612 by Thomas Running when he tried to walk twice at the same time."
- gunar.kroeger
- Posts: 143
- Joined: Fri Jul 27, 2018 6:48 pm
Re: PEM Certificate expires in September?
It just isn't clear to me if we have to do anything special in the server to keep the certificate forever or something
We generated a certificate that will expire in 7 days so we can test it
We generated a certificate that will expire in 7 days so we can test it
"Running was invented in 1612 by Thomas Running when he tried to walk twice at the same time."
Who is online
Users browsing this forum: No registered users and 128 guests