Community Questions & Answers
Using X.509 client certificate as method of user authentication ?
Hello, is there any way to use Titanium.Network.HTTPClient or another known module, Tiitanium API, etc. to open a SSL connection to a server and authenticate the user via a X.509 client certificate ? My question relates to Titanium SDK 3.1 since there...
Untrusted server certificate error with webview.
Hi, I'm building an internal iPad app for a company intranet that needs to show webpages over https from a server that has a self-signed certificate. I'm using a standard webview (Ti.UI.createWebView()) and get the following error: [ERROR] Error loading:...
Android HTTPS connection to web-service with module
Hello, I'm using sdk 3.0.2 and an Android 4.0.4 device and have been trying to connect to a REST web-service. I been trying to do a Https connection and URL connection through my self made module but keep getting the following error: (The same code in the...
imageview can't load image from https url, WHY ?????????????
my code here ~~~ var leftimage = Ti.UI.createImageView({ top: 0, left: 0, width: 50, height: 50, borderRadius: 10, }); leftimage.image = http://mydomain.com/123.jpg ~~~ This work perfectly, but when I change http to https, I...
imageview with https URL not working
Hi, all I have a problem to let imageview use https url, but I got warning message like below and image not display in imageview ~~~ [WARN] : Unable to securely connect to MYDOMAIN.COM with the latest TLS. Trying again with TLS1.0. It is highly...
Unable to securely connect to xxxxxx with the latest TLS - using https.
Trying to connect to a web service and fetch an XML string with HTTPClient. With the onload method being fired, I get a blank response / responseText. In my console, I see a warning message that says this: [WARN] : Unable to securely connect to...
webview do not renders https link with android 2.2
I am trying to render external https link page into titanium webview but it gives blank page with android 2.2 but with android 4.0.3 it works fine. How can I make working same with android 2.2 and others.
Access self-signed certificate https in WebView
Hi, I am trying to access a self-signed certificate url using WebView. The code is like this: ~~~ var webView = Titanium.UI.createWebView({ width:'100%', height:430, top:80, url:'https://myurl' }); ~~~ Unlike others, I do not get any errors. Instead,...
Mobile - createHTTPClient - Possible to check SSL Certificate?
I'm trying to build a secure application and will be communicating with a HTTPS interface through the create HTTP client. It is possible to tell if the certificate being used is self signed or not?
Client certificate access within app
I'm trying to realize an app containing a webView which access a server via https that requires a client certificate. I've installed the client certificate in the iOS profiles and i tested the authentication process using Safari and it works. Building my...
HTTPS
Is it possible to user HTTPS in titanium and how ? thank you
how to do login page in titanium for android and iphone
hi friends, i am new to titanium , how to access https services in titanium , can u give me a sample to start..
httpclient issue with SSL 3.0
It looks like the httpclient doesn't not support the SSL 3.0 yet. Its highest one is TLS_VERSION_1_2. however, ssl 3.0 is supported by browsers now. It took me a day to figure out why it couldn't open connection to the server.
Load remote image to imageView via https in Android
My imageViews display user avatars. They are placed in tableview rows. The problem is when I create imageView with image:'https://domain.com/image.png' it does not work. When I use plain http all works fine. On iOS I do not have this issue. SDK 1.7.0 Any...
SOAP + https + user authentication...possible?
I have a project I'm working on for someone, and this is the last step. I've looked at the kitchen sink and have the SOAP working from that example. However, for my project, my client has a service that 1) is only accessible via https, and 2) has a...
https request not working after signing android application (android 2.2)
Hi, In my android application I am using https requests. When I test it on my android device with android version 2.2 its working fine. But after signing application for distribution; my application is not working. Unsigned application with Https requests...
App not starting cause https://api.appcelerator.net:443
Hello, I'm currently using latest master sdk 2.1.0.v20120613210250.c8ddb29 (Jun 13). I think there is a problem related to titanium analytics or some other service called thought api when an app is started. I turned analytics off in my tiapp.xml...
HTTPS based webservices
As posted in http://developer.appcelerator.com/question/50741/https-based-webservices , I am using webservices for my app. myHttpClient.validatesSecureCertificate = false; given by Goran Skledar worked liked charm in android (thnQ!). But when I added...
SSL certificate on .apk
Is possible to include a SSL certificate IN the app, so you could mark it as valid, and just let the app connect to servers using this certificate?
Not trusted server certificate
Hi, i'm getting an error when trying to connect to a SSL server. The error displayed is "Not trusted server certificate". Of course I understand the problem, but the server i'm trying to connect is trusted, with a valid certificate from a...
Do I have to declare encryption in Apple's "export compliance" if I use ti.paypal?
I'm not sure what to do here...if I'm using the Paypal module from Titanium in my app, do I need to declare encryption when I submit my app? Or is this all taken care by Titanium/Paypal?
Displaying pictures in image view from a self-signed certificate site
Hi everyone, is there a way to display pictures from a self signed certificate server in a image view. Something like this: imageView.image='https://somesite.com:19000/someimage.jpg Thanks
Image upload over HTTPS
I've been successfully uploading an image with a simple HTTPClient POST request to our web server. We recently switched to using HTTPS and found that on iOS this no longer works. The web server receives a content length of 0. Is this possibly a bug in the...
https doesn't work on Titanium mobile?
Hi, I have a question about ssl and Titanium. As specified in a few posts, I use an address like 'https://foo.com' tu enable https in the `open` method of my httpClient (`xhr.open('POST', 'https://foo.com');`). When I use...
App Store submission Export Compliance- what is the right approach
I am trying to submit my App to Apple- but I am asked about the export Compliance. Since we are using the Ti.Network functionality's with https it seems that we are required to request a export license from BIS. I really need help on answering the...
Force Close on HTTPS Requests
hi all i get force close errors since i changed my api from http to https. Stacktraces out of the market: ~~~ java.lang.NullPointerException at...
Titanium does not open secure sites (ssl/https) in iframe
Hi, I'm trying to open a secure site (https://encrypted.google.com) using an iframe in titanium desktop and am not able to do so. However, I'm able to open the same site without a secure link i.e. http://www.google.com. Please suggest a solution or let...
Self-signed SSL https
I'm buildning a app mainly for Android. The main focus is a webview where the user can use any url. A url that points to a https/ssl with a self-signed certificate will result in blank white screen. There are workarounds for native iphone and android but...
Titanium.Utils.base64encode(...) ends in TypeError on Android
I'm trying to call a https url and provide username and password with basic authentication. I found an example as below. But calling the `base64encode` function ends in following error: `TypeError: Cannot call method "base64encode" of undefined...
SOCKS proxy required for Titanium Developer?
I am trying to install and use Titanium Developer on Windows XP in an environment that does not allow direct Internet access, and no SOCKS proxy is available. Only pure HTTP and HTTPS proxy functionality is available. Is it possible to get Titanium...
SSL & WebService
Hi All: How can I use SSL mode when a HTTPClient call a Web Webservice. I just find 'itanium.Network.HTTPClient.validatesSecureCertificate' is for HTTPS. who can share more codes, thanks.
HTTPS based webservices
We have been trying to call webservices in our app. The app is a simple event listing app which shows up schedule, evenue, tracks etc., by calling webservices. the app works well when we call a url with http, but throws an error such as...
httpclient broken in 1.4
I am trying to use HttpClient with a https url ~~~ url = "https://username:pass@someurl.com" ~~~ I get this error ~~~ Error Domain=ASIHTTPRequestErrorDomain Code=1 UserInfo=0x65b1a40 "A connection failure occurred" ~~~ In 1.3.2 it...
createHTTPclient with HTTPS / SSL address?
Hi, Congrats on the release of Titanium Mobile SDK v1! I'm trying to access a secure web service using Ti.Network.createHTTPClient() to an https:// address and not getting very far. Is this supported? If so, is there a knack? If not, is it on the...
Showing 1-34 of 34