Skip to content
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

Certificate validation and expiry #138

Open
moldabekov opened this issue Apr 17, 2024 · 1 comment
Open

Certificate validation and expiry #138

moldabekov opened this issue Apr 17, 2024 · 1 comment

Comments

@moldabekov
Copy link

moldabekov commented Apr 17, 2024

Hello!

First off, excellent work. My ESP8266 is running much quicker with your TG bot library. However, I'm quite concerned about the embedded TLS certificate (tg_certificate.h) for api.telegram.org. I understand it's likely in place to reduce the overhead for connection time. But what occurs when the certificate expires, which is expected in September 2024?

I am planning to put my device in remote distant place, and now thinking what workarounds or fixes can be applied to avoid any service interruptions.

@zenbooster
Copy link

Hello!
in September 2024?

Ha-ha!! ))

Unable to connect to Telegram server
(SSLClient)(SSL_ERROR)(m_start_ssl): Failed to initlalize the SSL layer
(SSLClient)(SSL_ERROR)(m_print_br_error): Certificate is expired or not yet valid.

Unable to connect to Telegram server
(SSLClient)(SSL_ERROR)(m_start_ssl): Failed to initlalize the SSL layer
(SSLClient)(SSL_ERROR)(m_print_br_error): Certificate is expired or not yet valid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants