[TIMOB-6311] iOS: Support TLS versioning on XHR client
| GitHub Issue | n/a |
|---|---|
| Type | New Feature |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-12-09T11:45:10.000+0000 |
| Affected Version/s | Release 1.8.0.1 |
| Fix Version/s | Sprint 2011-48, Release 1.8.0.1 |
| Components | iOS |
| Labels | n/a |
| Reporter | Stephen Tramer |
| Assignee | Stephen Tramer |
| Created | 2011-11-28T10:18:50.000+0000 |
| Updated | 2014-10-23T19:36:17.000+0000 |
Description
We need to support different TLS versions in our XHR, as explained by this technical note:
http://developer.apple.com/library/ios/#technotes/tn2287/_index.html#//apple_ref/doc/uid/DTS40011309
A property (
tlsVersion) will be added to Ti.Network.HTTPClient for iOS.
Tested on Ti Studio 1.0.7.201112061404 Ti Mob SDK 1.8.0.1.v20111205011857 OSX Lion iPod Touch 4.3.5, iPhone 4S OS 5.0.1, iPad 2 OS 4.3.5 Expected behavior is shown of a tlsversion property on httpclient
Reopening to re-tag as a feature.
I'm passing the parameter but I still see the same results. IS there any way I can validate that I'm in fact sending in the parameter ?
You may be able to use a web proxy tool such as Charles or (better) WireShark to detect what version of TLS is being used. If there's a version mismatch between the property you set and the value being sent, then this needs to be reopened; otherwise, it's likely a configuration issue with your server where it's not supporting TLS.