【问题标题】:Android 4.1.1 ssl exception while accessing Nasa webservice访问 Nasa Web 服务时出现 Android 4.1.1 ssl 异常
【发布时间】:2015-06-23 11:28:01
【问题描述】:

我正在尝试访问 Nasa 网络服务,使用 Android 5.x 一切正常,但使用 Android 4.1.1 时抛出异常:javax.net.ssl.SSLException: Connection closed by peer

 OutputStream output = null;
            url = new URL("https://firms.modaps.eosdis.nasa.gov/active_fire/text/Europe_24h.csv");
                HttpsURLConnection https = (HttpsURLConnection) url.openConnection();
                https.getInputStream(); <---- fails here

有什么想法吗?

【问题讨论】:

    标签: android ssl https outputstream


    【解决方案1】:

    该站点仅支持 TLS 1.1+,不支持 TLS 1.0(请参阅analysis of SSLLabs)。 根据SSLLabs,Android 4.1.1 不支持 TLS 1.1+。

    【讨论】:

    • 谢谢! Android 4.1.1 不支持 Tls 1.1。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-09-01
    • 2012-07-12
    • 2012-11-26
    • 2011-02-16
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多