Skip to main content
Participant
March 8, 2012
Question

How do I allow self-signed cert for SecureAMF on iOS?

  • March 8, 2012
  • 2 replies
  • 932 views

I have spent the better part of two days trying to figure out how the dickens to do this. 

Basically, I am using BlazeDS (using AMF as the protocol) to communicate with a Java backend (using tomcat with a self-signed cert).

This works great in the browser version of the application (you usually get a little prompt saying that the site is untrusted when you try to access the website, you install the certificate and Bob's your uncle.)

However, adapting the code over to iOS I am discovering a couple of problems.  The primary one being that the BlazeDS communication fails miserably when we are using SecureAMF with the self-signed certs.  It appears that it is similar to this issue: http://forums.adobe.com/message/3940214#3940214

How do I get my iOS Air app to communicate with a self-signed certificate running on tomcat?

Here are the things I've tried:

1) Installing the cert using iPhone Configuration Utility

2) Browsing to the site in Safari, and installing the certificate manually

This is for development, so buying a certificate doesn't really make sense.

So, any suggestions?

This topic has been closed for replies.

2 replies

Participant
March 13, 2012

+1

Participant
March 16, 2012

Has anybody had any success here?  This is a real problem for testing internal applications inside of a local network.