file_get_contents(): SSL operation failed with code 1 (certificate verify failed)

后端 未结 2 1737
陌清茗
陌清茗 2021-01-19 08:48

I have installed WAMP 3.0.4 and am trying to write a PHP script that connects to an external HTTPS web service. But this returns the error:

Warning: f

2条回答
  •  北恋
    北恋 (楼主)
    2021-01-19 09:22

    While on MAMP on macOS, simply restarting MAMP server solved this issue for me.

提交回复
热议问题