作者wheels ()
看板Linux
標題Fw: [請益] Ubuntu內fopen開https(不用curl)
時間Thu May 30 22:38:24 2013
※ [本文轉錄自 PHP 看板 #1HfsH2Q4 ]
作者: wheels () 看板: PHP
標題: [請益] Ubuntu內fopen開https(不用curl)
時間: Thu May 30 22:37:51 2013
因為某些問題不能用curl,
然而在Ubuntu 12.04上用fopen開https的網頁似乎會有
PHP Warning: fopen(): SSL operation failed with code 1. OpenSSL Error
messages:
error:14077410:SSL routines:func(119):reason(1040)
這個錯誤回報,請問該如何解決呢?感謝!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.28.212
※ 發信站: 批踢踢實業坊(ptt.cc)
※ 轉錄者: wheels (140.112.28.212), 時間: 05/30/2013 22:38:24
推 Bencrie:有裝 ca-certificates ? 05/30 22:59
→ wheels:應該是沒有 囧 我查查看 05/30 23:46
→ wheels:抱歉我裝了ca-certificates後依然一樣 請問該怎麼解呢? 05/31 00:19
推 Bencrie:那 OpenSSL 呢? 05/31 08:50
→ wheels:用apt-get install openssl裝了@@ 05/31 15:59
→ wheels:結果更新過後就可以了...感謝樓上 06/02 20:57