Home  >  Article  >  php教程  >  curl: (35) error:14077438:SSL routines:SSL23_GET_S

curl: (35) error:14077438:SSL routines:SSL23_GET_S

WBOY
WBOYOriginal
2016-06-06 20:13:193085browse

当使用php的扩展模块curl抓取某些https类站点数据时,php莫名的没有数据返回! 回到curl命令本身,测试发现报错 curl https://www.heshidai.com curl: (35) error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error 解决方案,指定S

当使用php的扩展模块curl抓取某些https类站点数据时,php莫名的没有数据返回!

回到curl命令本身,测试发现报错

curl https://www.heshidai.com
curl: (35) error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error

解决方案,指定SSL的版本即可校验即可!
curl https://www.heshidai.com –sslv3

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn