wizfi360 SSL connection to api.telegram.org ?
Wireless
No replies yet. Be the first to reply.
Join the discussion.
Wireless
No replies yet. Be the first to reply.
Join the discussion.
Share projects and connect with makers.
Joined before the site update? first.
New to WIZnet Makers?
We sent a verification link to your address. Open it to activate your account, then log in.
Accounts from this email provider are reviewed by an administrator after verification. Approval usually takes one business day.
Already have an account?
Enter your email address. If it belongs to an account, we'll send a link to set a new password. Members who joined before the site update use this to set their password.
If an account uses that address, we sent a link to set a new password. The link works once and expires in 30 minutes.
Know your password?
Need an account?
RE: wizfi360 SSL connection to api.telegram.org ?
by viktor WIZnet ·
Dear Sergei,
Probably you need to update Root CA for your connection.
To do so, you should use AT+CASEND command.
Please refer to latest AT instruction guide below:
Thanks.
RE: wizfi360 SSL connection to api.telegram.org ?
by kazansergei ·
Dear Viktor, thank you for the answer. Could you please show the example - what AT commands needs to be sent in this case for strong SSL connection? Unfortunately, no exact answers in the latest AT instruction guide.
RE: wizfi360 SSL connection to api.telegram.org ?
by viktor WIZnet ·
Hello,
I believe that below commands shall be enough for SSL connection:
AT+CIPSSLCCONF=2
Update Root CA using AT+CASEND=1.
These should be enough for your SSL connection using CIPSTART.
You may refer to this example Connect WizFi360 to AWS IoT using AT Command | WizFi360
Hope, I could help.
RE: wizfi360 SSL connection to api.telegram.org ?
by kazansergei ·
Dear Viktor, thank you for the answer.
Yes, i exactly performed this set of commands, namely :
AT+CIPSSLCCONF=2
AT+CASEND=1
uploaded in the module the Root certificate taken from api.telegram.org web site
AT+CIPSTART=“SSL”,“api.telegram.org ”,443
The answer is Error
But exactly the same i tested yandex.ru web site with SSL connection. It connects.
What can be wrong with Telegram?
Some kind of problems with version TLSv1.2 or TLSv1.3 for module?
Thank you.
RE: wizfi360 SSL connection to api.telegram.org ?
by viktor WIZnet ·
Hello,
It could be caused by mismatch of ciphers.
Currently WizFi360 supports following ciphers:
TLS-RSA-WITH-AES-256-GCM-SHA384
TLS-RSA-WITH-AES-256-CBC-SHA256
TLS-RSA-WITH-AES-256-CBC-SHA
TLS-RSA-WITH-AES-128-GCM-SHA256
TLS-RSA-WITH-AES-128-CBC-SHA256
TLS-RSA-WITH-AES-128-CBC-SHA.
I am not sure which ones are supported by telegram.org. But I think that’s the reason for connection error.
RE: RE: wizfi360 SSL connection to api.telegram.org ?
by kazansergei ·
Dear Viktor, i’d like to update the information about problem with SSL connection to Telegram service.
There is online SSL Server Test SSL Server Test (Powered by Qualys SSL Labs) where all ciphers could be checked for any server.
It says that for Telegram it supports for TLSv1.2 only following
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
TLS_DHE_RSA_WITH_AES_128_GCM_SHA256
TLS_DHE_RSA_WITH_AES_256_GCM_SHA384
Is there any possibility to update firmware for WizFi360 module with one of these ciphers?
Thanks.
RE: wizfi360 SSL connection to api.telegram.org ?
by kazansergei ·
Dear Viktor, thank you for the answer!
We’d like to use WizFi360 in our projects to send messages directly from hardware. Is it possible to update your firmware in terms of SSL connection concerning Telegram service?
Here is some technichal information about Protocol: Detailed Description
As i know in module ESP8266 has already been realizaed SSL connection to Telegram service. There are many projects with it in Youtube .
Thank you.
RE: wizfi360 SSL connection to api.telegram.org ?
by viktor WIZnet ·
Hello,
I will forward your request to developer’s team.
But it may take some time for development.
RE: wizfi360 SSL connection to api.telegram.org ?
by viktor WIZnet ·
Hello,
As I mentioned before, I forwarded your request to developers’ team, but it may take some time for this work to be done.
RE: wizfi360 SSL connection to api.telegram.org ?
by kazansergei ·
Thank you so much for updating your firmware. It works fine with Telegram now. I am testing it now.