Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17956] Authenticate by certificate(with password) on https web service

GitHub Issuen/a
TypeImprovement
PriorityNone
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 3.4.0
Fix Version/sn/a
ComponentsAndroid
LabelsTCSupport, certificate, https, securityManagerProtocol
ReporterLeonardo Leal
AssigneeUnknown
Created2014-09-23T14:01:41.000+0000
Updated2018-02-28T20:03:18.000+0000

Description

Hello friends, I'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. Now 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. I'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.

Comments

  1. Leonardo Leal 2014-09-23

    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. The 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.
  2. Alberto Marcone 2017-01-30

    I agree with you, the documentation is still poor and you don't really know how to pass the certificate to the http call

JSON Source