[guardian-dev] SNI with NetCipher's HttpsURLConnection

Hans-Christoph Steiner hans at guardianproject.info
Wed Feb 24 15:12:38 EST 2016

When using NetCipher 1.2's getHttpURLConnection() method to get a nicely
configured TLS connection, it fails on sites that use SNI HTTPS aliases:


I'm a bit at a loss as to why this would happen, since NetCipher only
changes the algorithms and TLS protocol versions, and uses
sslcontext.init(null, null, null) to get the defaults there.


Anyone have any pointers?  NetCipher should really fully support SNI.


PGP fingerprint: EE66 20C7 136B 0D2C 456C  0A4D E9E2 8DEA 00AA 5556

More information about the guardian-dev mailing list