SAVON SOAP sslv3警报握手失败

时间:2016-06-09 15:25:51

标签: ruby ruby-on-rails-4 ssl-certificate

我用Savon 2红宝石打肥皂。 我的电话代码是:

[[APCScoring alloc] initWithHealthKitQuantityType:HKQuantityType
                    unit:[HKUnit countUnit]
                    numberOfDays:-kNumberOfDaysToDisplay];

证书已从pfx文件转换为pem。 通过使用带有pfx和密码的SoapUI,呼叫可以正常工作。 使用Rails应用程序我有这个错误:

HTTPI :: SSLError:SSL_connect返回= 1 errno = 0状态= SSLv3读取服务器问候语A:sslv3警报握手失败

有人可以帮帮我吗? 谢谢 卡罗

1 个答案:

答案 0 :(得分:0)

而不是

(function () {
    "use strict";

    // The initialize function must be run each time a new page is loaded
    Office.initialize = function (reason) {
        $(document).ready(function () {

            var iframew = document.createElement('iframe');
            iframew.src = '../SecondPage/SecondPage.html';
            iframew.id = 'iframe1';
            iframew.onload = iframeLoaded(this.contentWindow.location.href);

            document.body.appendChild(iframew);


        });
    };

    // Helper function for displaying notifications

    function iframeLoaded(location) {
        console.log("log", location);
    }
})();

尝试globals.ssl_version :SSLv3