我想建立一個網絡掛接我的電報博特和我面臨着電報SSL認證的問題:SSL證書驗證失敗的電報網絡掛接
{"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}}
我從Comodo買了這個SSL證書這是由電報和支持我累了所有可能的端口,並使用此命令上傳.pem
:
curl -F "url=https://example.com:443/harfbeme/index.php" -F "[email protected]/etc/apache2/ssl/apache.pem" https://api.telegram.org/botTokenID/setWebhook
我也嘗試了電報方法描述here,但我得到了同樣的錯誤。 我也檢查了this page,我的服務器滿足了所有要求。
任何想法爲什麼我得到certificate verify failed
錯誤?