{ "id": "137007", "key": "TIMOB-17956", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2014-09-23T14:01:41.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "TCSupport", "certificate", "https", "securityManagerProtocol" ], "versions": [ { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:18.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Hello friends,\r\n\r\nI've been working with SDK 3.2.3 and a Module(for iOS and Android) that adds a self signed certificate with password to validate a https connection to a web service, and It's been working fine.\r\n\r\nNow I need to implement the SDK 3.3.0 to use some of It's features and benefit from Its bug fixes, but the https connection cant be made anymore with my https module due to the new securityManagerProtocol implementation.\r\n\r\nI've been searching all over the internet for an example of the implementation of this protocol so I can create a new Titanium Module that sends my client certificate with It's password to authenticate the https connection, but all I could find was a reference to a Modules.https that is is not available for study anywhere.", "attachment": [], "flagged": false, "summary": "Authenticate by certificate(with password) on https web service", "creator": { "name": "leoleal", "key": "leoleal", "displayName": "Leonardo Leal", "active": true, "timeZone": "America/Sao_Paulo" }, "subtasks": [], "reporter": { "name": "leoleal", "key": "leoleal", "displayName": "Leonardo Leal", "active": true, "timeZone": "America/Sao_Paulo" }, "environment": null, "comment": { "comments": [ { "id": "325218", "author": { "name": "leoleal", "key": "leoleal", "displayName": "Leonardo Leal", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "According to http://docs.appcelerator.com/titanium/3.0/#!/guide/SSL_Certificate_Store_Support_for_HTTP_Clients I must use the new Protocol to implement a Certificate Store to my App. \r\n\r\nThe problem is that reading the documentation for the new implementation, It says nothing about adding the certificate to the Connection and passing the Key's Password to authenticate It, like I used to do with the 3.2.3 SDK version.", "updateAuthor": { "name": "leoleal", "key": "leoleal", "displayName": "Leonardo Leal", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2014-09-23T18:29:17.000+0000", "updated": "2014-09-23T18:29:17.000+0000" }, { "id": "405609", "author": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "body": "I agree with you, the documentation is still poor and you don't really know how to pass the certificate to the http call", "updateAuthor": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-01-30T16:59:58.000+0000", "updated": "2017-01-30T16:59:58.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }