curl错误:error:1409442E:SSL routines:ssl3_read_bytes:tlsv1 alert protocol version

今天公司项目一个curl读取图片的方法报错

错误如下:error:1409442E:SSL routines:ssl3_read_bytes:tlsv1 alert protocol version

对应修改办法:因为请求的是https协议的图片,将协议换成http就可以了,因为我们是内部服务器,但是外部链接图片不支持更改成http,所以这个办法只是临时解决的。

 

具体问题应该是SSL证书问题,待下次探究

posted @ 2019-10-09 17:18  KenChung  阅读(6425)  评论(0编辑  收藏  举报