Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15783] CLI: Add CLI config option to bypass SSL certificate validation (3_1_X backport)

GitHub Issuen/a
TypeNew Feature
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-11-22T01:04:01.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 24, 2013 Sprint 24 Core, Release 3.1.4
ComponentsCLI
Labelsn/a
ReporterChris Barber
AssigneeChris Barber
Created2013-11-21T22:11:59.000+0000
Updated2017-03-14T20:23:15.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.

Comments

  1. Chris Barber 2013-11-21

    3_1_X Titanium CLI pull request: https://github.com/appcelerator/titanium/pull/77 3_1_X node-appc pull request: https://github.com/appcelerator/node-appc/pull/68
  2. Allen Yeung 2013-11-22

    To test, 1) Unset proxy server settings: ti config -r cli.httpProxyServer 2) Run: ti logout 3) Run: ti login 4) Set proxy server using a proxy from hidemyass.com: ti config cli.httpProxyServer http://: 5) Repeat steps 2-3 Verify that the login and logout works. If it doesn't work, then try setting: 'ti config cli.rejectUnauthorized false', then re-run steps 1-3.
  3. Lee Morris 2017-03-14

    Closing ticket as fixed.

JSON Source