Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15743] CLI: Add CLI config option to bypass SSL certificate validation

GitHub Issuen/a
TypeNew Feature
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-11-21T00:16:18.000+0000
Affected Version/sRelease 3.2.0
Fix Version/s2013 Sprint 24, 2013 Sprint 24 Core, Release 3.2.0
ComponentsCLI
Labelsn/a
ReporterChris Barber
AssigneeChris Barber
Created2013-11-19T01:51:16.000+0000
Updated2017-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.

Comments

  1. Chris Barber 2013-11-19

    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://: 6) Repeat steps 2-4 If the "ti setup check" shows an error for "http request test" or "https request test", then try setting: ti config cli.rejectUnauthorized false, then re-run steps 1-6.
  2. Lee Morris 2017-03-09

    Closing ticket as fixed.

JSON Source