Certificate verify failed (OpenSSL::SSL::SSLError)


#1

e$B$U$He(B [ruby-talk:182074] e$B$r$$F!"$"$2$i$l$?e(B https e$B$Je(B
URL e$B$re(B
open-uri e$B$G%"%/%;%9$7$F$
$k$H!"e(B
certificate verify failed (OpenSSL::SSL::SSLError)
e$B$H=P$^$7$?!#e(B

e$B$3$3$G!"e(Bcertificate verify failed e$B$H$$$&%a%C%;!<%8$G$O$J$s$Ge(B
e$B8!>Z$K<:GT$7$?$N$+$o$+$i$J$$$N$GHyL/$KHa$7$/$*$b$C$?$N$G$9$,!"e(B
e$B<:GT$7$?M}M3$r$b$&>/$7>$7$/CN$k$3$H$O$G$-$J$$$N$G$7$g$&$+!#e(B

% ruby -ropen-uri -e
‘open(“https://www.knightonlineworld.com/index.php?pg=rankings&sub=2&radServer=1&clanid=12199”)’
/home/akr/ruby/lib/ruby/1.9/net/http.rb:586:in
OpenSSL::SSL::SSLSocket#connect': certificate verify failed (OpenSSL::SSL::SSLError) from /home/akr/ruby/lib/ruby/1.9/net/http.rb:586:inconnect’
from /home/akr/ruby/lib/ruby/1.9/net/http.rb:553:in do_start' from /home/akr/ruby/lib/ruby/1.9/net/http.rb:542:inNet::HTTP#start’
from /home/akr/ruby/lib/ruby/1.9/open-uri.rb:293:in
OpenURI#open_http' from /home/akr/ruby/lib/ruby/1.9/open-uri.rb:712:inURI::HTTP#buffer_open’
from /home/akr/ruby/lib/ruby/1.9/open-uri.rb:195:in open_loop' from /home/akr/ruby/lib/ruby/1.9/open-uri.rb:193:inopen_loop’
from /home/akr/ruby/lib/ruby/1.9/open-uri.rb:139:in
OpenURI#open_uri' from /home/akr/ruby/lib/ruby/1.9/open-uri.rb:614:inOpenURI::OpenRead#open’
from /home/akr/ruby/lib/ruby/1.9/open-uri.rb:86:in `open’
from -e:1

e$B$J$*!“e(Bw3m e$B$G%”%/%;%9$9$k$He(B
certificate has expired: accept? (y/n)
e$B$H=P$F$-$^$9!#e(B

e$B$J$*!"e(Bboron e$B$G$b:F8=$7$^$9!#e(B