file_get_contents ignoring verify_peer=>false?

前端 未结 5 766
遇见更好的自我
遇见更好的自我 2020-12-16 16:14

file_get_contents with https hosts works just fine, except for a particular host (test api server from some company - ip whitelisted, can\'t give you URL to test). This rule

5条回答
  •  心在旅途
    2020-12-16 16:30

    You could try to debug this with Wireshark -- you might get a better idea of what goes wrong, you should see which SSL error occurs.

提交回复
热议问题