{ "id": "169875", "key": "TIMOB-25335", "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": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2020-09-30T09:16:42.000+0000", "created": "2017-09-23T17:30:07.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "19922", "description": "", "name": "Release 6.2.1", "archived": false, "released": true, "releaseDate": "2017-09-18" } ], "issuelinks": [ { "id": "58763", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "171270", "key": "MOD-2402", "fields": { "summary": "HTTPS: Add support for multiple certificates to pin against one host", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": null, "updated": "2020-09-30T09:16:42.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "Often when using certificate pinning you will need to ship multiple certificates for the same URLs. This is done so that you can ship your new certificate before the old one expires.\r\n\r\nTo support this the below would need to be implemented. \r\n\r\n{code}\r\nsecurityManager = https.createX509CertificatePinningSecurityManager([\r\n {\r\n url: 'https://dashboard.appcelerator.com',\r\n serverCertificate: 'dashboard.appcelerator.com-new.der'\r\n },\r\n {\r\n url: 'https://dashboard.appcelerator.com',\r\n serverCertificate: 'dashboard.appcelerator.com-old.der'\r\n }\r\n]);\r\n{code}\r\n\r\nWill send a PR for review", "attachment": [], "flagged": false, "summary": "Certificate Pinning - Support multiple certificates for a URL", "creator": { "name": "ben.bahrenburg@gmail.com", "key": "ben.bahrenburg@gmail.com", "displayName": "Ben Bahrenburg", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ben.bahrenburg@gmail.com", "key": "ben.bahrenburg@gmail.com", "displayName": "Ben Bahrenburg", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "457086", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Closing as a duplicate of MOD-2402 rather than moving this over to MOD", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2020-09-30T09:16:42.000+0000", "updated": "2020-09-30T09:16:42.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }