I created my bot. Chose the method Webhook. Connected, indicated a working certificate. Now I am writing a bot, he is silent. Looked through getWebhookInfo. And there:

{ "ok":true, "result":{ "url":"https://путь_до_файла.php", "has_custom_certificate":true, "pending_update_count":5, "last_error_date":1508481212, "last_error_message":"SSL error {337047686, error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed}", "max_connections":40 } } 

What am I doing wrong? `

  • Try another certificate install. It does not fit yours, as you see. If the server is on Apache , there is a Certbot for installing a free certificate from Let's Encrypt . - Tarasovych
  • Yes, because of the certificate did not work, now everything is ok. thank you for responding - Nurlan Mendigaliev

0