このページの翻訳:
- 日本語 (ja)
- English (en)
最近の更新
Tag Cloud
このページへのアクセス
今日: 3 / 昨日: 1
総計: 180
- Dokuwiki.fl8.jp(29)
- DokuWiki(25)
- FreeBSD カーネル再構築(12)
- 30 React-admin(11)
- 29 Next.js(11)
- 13 CentOS6メール設定(10)
最近の更新
このページへのアクセス
今日: 3 / 昨日: 1
総計: 180
開発環境で自己署名しているhttps環境において、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 xxxxx
というエラーが表示されます。
$url = "https://xxxxxx";
$options['ssl']['verify_peer']=false;
$options['ssl']['verify_peer_name']=false;
$response = file_get_contents($url, false, stream_context_create($options));