내 환경을 확인 실패, 은 OpenSSL : SSL은 :: SSLError SSL_connect는 SSLv3에 서버 인증서 B를 읽을 = 1 개의 errno = 0 상태를 반환 인증서가
% openssl version
OpenSSL 0.9.8r 8 Feb 2011
% curl --version
curl 7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8r zlib/1.2.5
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: AsynchDNS GSS-Negotiate IPv6 Largefile NTLM NTLM_WB SSL libz
% rails -v
Rails 3.0.3
% ruby -v
ruby 1.9.2p320 (2012-04-20 revision 35421) [x86_64-darwin12.2.0]
% rvm --version
rvm 1.15.0 (latest) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]
omniauth version is '0.2.6'
다음 내가 omniauth와 페이스 북을 통해 로그인하고 다음을 얻을 오류.
OpenSSL::SSL::SSLError
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
이 문제를 해결하려고했습니다.
는 ~/.zshrc
export CURL_CA_BUNDLE='/System/Library/OpenSSL/certs/cert.pem'
내가 사용 사제에 한 줄을 추가합니다. curl-config --ca는 빈 행을 표시합니다.
% curl-config --ca
(empty output)
이 문제를 어떻게 해결할 수 있습니까?
미리 감사드립니다.
고맙습니다 !!!이 솔루션으로 제 문제를 해결할 수 있습니다. –