05/06/23 14:18:32
>>129
ごめん嘘。OpenSSLのtarボールに証明書入ってた。
Cygwinが入れてくれないだけだった。
本来どうするか知らないけど、とりあえずCygwinではこんな感じでエラーがでなくなった。
1. /usr/ssl/openssl.cnfを編集してcertsディレクトリ(仮に$CERTS)を適当に決定
2. $CERTSディレクトリを作成
3. cp openssl-x.x.x/certs/*.pam $CERTS
4. $ :>/usr/ssl/cert.pam
5. $ c_rehash
BSD/Linuxではrootじゃないと設定できないと思われ。
でも最初から設定されているかも。
@Debian/testing
~ > uname -a
Linux colin 2.6.8.1-co-0.6.2-pre6 #58 Sun Oct 24 21:48:46 IST 2004 i686 GNU/Linux
~ > ruby -ropen-uri -e 'puts open("URLリンク(www.innossl.jp)").readlines[0..2]'
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-jp">