reading SSL page with CURL (php)

后端 未结 7 1894
南方客
南方客 2020-12-05 00:24

I am trying to download the content of a secure (uses https) webpage using php and curl libraries.

However, reading failed and I get error 60: \"SSL certificate prob

7条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-05 00:55

    You're not SENDing the SSL cert. It appears there's a problem with the SSL cert as it is installed on the host you are contacting. Use option -k or --insecure, to get past the complaint.

    Ah. See Ryan Graham's answer

提交回复
热议问题