我正在努力确保网站/页面的安全。
当我使用php来file_get_contents此页面时,我得到了:
Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /Users/user/HoldingForDO/libTOdatabases/index.php on line 48
Warning: file_get_contents(): Failed to enable crypto in /Users/user/HoldingForDO/libTOdatabases/index.php on line 48
Warning: file_get_contents(https://can-la.com/samplesforstackexc/test3.html): failed to open stream: operation failed in /Users/user/HoldingForDO/libTOdatabases/index.php on line 48
但是,我的浏览器能够显示出它的安全性(在Safari上,URL栏上显示一个锁定符号)。
为什么以及如何解决这个问题?这与将此页面集成到Apple Pay有关。 Apple Pay中的域验证步骤失败,我怀疑这与上面的事情有关。