ubuntu - SSL Certificate verify failed in Telegram Webhook -
i trying set webhook telegram bot , i'm facing issue telegram ssl certification:
{"ok":true,"result":"url":"https://example.com:443/index.php","has_custom_certificate":true,"pending_update_count":2,"last_error_date":1503222412,"last_error_message":"ssl error {337047686, error:1416f086:ssl routines:tls_process_server_certificate:certificate verify failed}","max_connections":40}}
i bought ssl certificate comodo supported telegram , tired possible ports, , uploaded .pem
using command:
curl -f "url=https://example.com:443/harfbeme/index.php" -f "certificate=@/etc/apache2/ssl/apache.pem" https://api.telegram.org/bottokenid/setwebhook
tried telegram method described here, got same error. checked this page , server met every requirements.
any idea why certificate verify failed
error?
are sure after buying ssl , setting on domain?
ssl domain , webhook domain must same , ssl certificate must set on domain in settings.
Comments
Post a Comment