このページの翻訳:
- 日本語 (ja)
- English (en)
最近の更新
Tag Cloud
このページへのアクセス
今日: 8 / 昨日: 12
総計: 734
- DokuWiki(82)
- Dokuwiki.fl8.jp(74)
- Gallery(24)
- FreeBSD カーネル再構築(10)
- gunzip(10)
- 01 cloudmonkey(10)
- 02 外部チェック(10)
- test(9)
最近の更新
このページへのアクセス
今日: 8 / 昨日: 12
総計: 734
開発環境で自己署名している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));