[TIMOB-15743] CLI: Add CLI config option to bypass SSL certificate validation
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-11-21T00:16:18.000+0000 |
Affected Version/s | Release 3.2.0 |
Fix Version/s | 2013 Sprint 24, 2013 Sprint 24 Core, Release 3.2.0 |
Components | CLI |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2013-11-19T01:51:16.000+0000 |
Updated | 2017-03-09T18:10:40.000+0000 |
Description
The Titanium CLI uses HTTP requests for authentication, analytics, and downloading Titanium SDKs. If any of these use an invalid SSL cert, especially in the case of a proxy server, then the requests fail. This may be remedied by adding a CLI option that disabled the "rejectUnauthorized" request parameter.
Titanium CLI pull request: https://github.com/appcelerator/titanium/pull/75 node-appc pull request: https://github.com/appcelerator/node-appc/pull/66 To test, 1) Unset proxy server settings: ti config -r cli.httpProxyServer 2) Run: ti logout 3) Run: ti login 4) Run: ti setup check 5) Set proxy server using a proxy from hidemyass.com: ti config cli.httpProxyServer http://
Closing ticket as fixed.