Android SSL - SNI 支持 [英] Android SSL - SNI support

查看:18
本文介绍了Android SSL - SNI 支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想了解 Android SDK 中对 SSL/TLS 服务器名称指示 (SNI) 扩展的支持.

I would like to know about the support for the SSL/TLS Server Name Indication (SNI) extension in the Android SDK.

推荐答案

据我所知,Android SDK 有部分支持.目前情况如下:

As far as I know, there is a partial support in Android SDK. The current situation is the following:

  1. 由于 Gingerbread 发布了带有 HttpsURLConnection API 的 TLS 连接,因此支持 SNI.
  2. Android 附带的 Apache HTTP 客户端库不支持 SNI
  3. Android 网络浏览器也不支持 SNI(因为使用了 Apache HTTP 客户端 API)
  1. Since the Gingerbread release TLS connection with the HttpsURLConnection API supports SNI.
  2. Apache HTTP client library shipped with Android does not support SNI
  3. The Android web browser does not support SNI neither (since using the Apache HTTP client API)

Android 错误跟踪器中有一个关于此问题的已开票.

There is an opened ticket regarding this issue in the Android bug tracker.

也可以通过连接到以下 URL 来测试 SNI 支持:https://sni.velox.ch/

It is also possible to test the SNI support by making a connection to this URL: https://sni.velox.ch/

这篇关于Android SSL - SNI 支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆