Android SSL - SNI support

user736435 picture user736435 · May 4, 2011 · Viewed 23.8k times · Source

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

Answer

Jcs picture Jcs · May 5, 2011

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

  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)

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

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