PEM Certificate expires in September?

User avatar
gunar.kroeger
Posts: 143
Joined: Fri Jul 27, 2018 6:48 pm

PEM Certificate expires in September?

Postby gunar.kroeger » Fri May 31, 2019 2:21 pm

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?
"Running was invented in 1612 by Thomas Running when he tried to walk twice at the same time."

User avatar
gunar.kroeger
Posts: 143
Joined: Fri Jul 27, 2018 6:48 pm

Re: PEM Certificate expires in September?

Postby gunar.kroeger » Fri May 31, 2019 2:51 pm

gunar.kroeger wrote:
Fri May 31, 2019 2:21 pm
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?
found this post that seems to confirm it:
viewtopic.php?t=7585
"Running was invented in 1612 by Thomas Running when he tried to walk twice at the same time."

User avatar
gunar.kroeger
Posts: 143
Joined: Fri Jul 27, 2018 6:48 pm

Re: PEM Certificate expires in September?

Postby gunar.kroeger » Fri May 31, 2019 3:40 pm

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
"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 114 guests