このページの翻訳:
- 日本語 (ja)
- English (en)
最近の更新
Tag Cloud
このページへのアクセス
今日: 2 / 昨日: 2
総計: 192
- Dokuwiki.fl8.jp(50)
- DokuWiki(24)
- サカつく初代(9)
- tcで帯域制限(htb)(7)
- IPMIコマンド(7)
最近の更新
このページへのアクセス
今日: 2 / 昨日: 2
総計: 192
開発環境で自己署名している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));