1
我使用Savon 2紅寶石來製作肥皂呼叫。 我的電話代碼是:SAVON SOAP sslv3警報握手失敗
cert_key_file = <cert_key_file>
cert_key_password = 'xxx'
client = Savon.client do |globals|
globals.log true
globals.wsdl "#{Rails.root}/wsdl/<-wsdl->"
globals.ssl_cert_file cert_key_file
globals.ssl_ca_cert_file cert_key_file
globals.ssl_cert_key_file cert_key_file
globals.ssl_cert_key_password cert_key_password
globals.ssl_verify_mode :none
globals.ssl_version :SSLv3
end
client.call(:function_to_call, message: function_to_call_body(data))
enter code here
證書從PFX文件轉換爲PEM。 通過pfx和密碼使用SoapUI,調用起作用。 使用Rails應用程序我有此錯誤:
HTTPI :: SSLError:所以SSL_connect返回= 1個錯誤號= 0狀態= SSLv3的讀取服務器問候答:SSLV3警報握手失敗
有人能幫助我嗎? 感謝 卡羅