D
D
Doctor_MOM2015-09-28 17:05:50
Telegram
Doctor_MOM, 2015-09-28 17:05:50

What is the correct way to use setWebhook with self-signed certificates?

I made a self-signed SSL certificate for my server bot according to the instructions http://help.ubuntu.ru/wiki/apache_and_https
Received server.key and server.pem files, performed the appropriate manipulations according to the manual
The server responds successfully to https://.
What is the correct way to use setWebhook with self-signed certificates?
What value and in what form to substitute in the certificate variable ?
api.telegram.org/botBOT_TOKEN/setWebhook= https://my_bot_server/file? certificate =

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question