Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Client SSL Certificate Authentication

I'm trying to access a website which requires a client side certificate using the iPad.

Root CA cert is installed in a profile, but Safari does not ask for a certificate, even though one is installed.

Is there a way to force the identity preference on the iPad? How can I access a web site which requites a client side certificates?

Posted on Apr 23, 2010 12:17 PM

Reply
47 replies

Feb 11, 2011 6:35 AM in response to Roman2011

Hi there,

Unfortunately I still have a problem maintaining an open SSL connection (RSA 1024 certificate). I am able to establish it, but at random intervals the iPad apparently terminates it and I have to provide again credentials. Worth of mentioning is that I do not experience the same issue with a 3G iPhone (iOS 4 or 4.2) when trying to access resources on the same website using the same certificate-based secure connection
Does anyone know how to fix such a problem?

Jul 4, 2011 3:45 AM in response to Matevz Gacnik

Sorry to dig this one up.

I've also got this working on an iPad running iOS 4.3.3 , however the requirements are to run 2048bit SSL.


2048bit CA and a 1024bit client certificate

Or

A 2048bit CA and a 2048bit client certificate, Safari on the iPad showed a loading symbol that kept refreshing in some kind of loop, it never stopped.

The Apache never sees a successful connection.


However with a 1024bit CA and a 1024bit certifiate everything works fine.


Does anyone know if its possible to use Apache, mutual SSL, or SSL with a client certificate for authentication, and 2048bit SSL with an iPad?


Is there any chance the mobile Safari will be upgraded to support this in iOS 5?


The Apache version is 2.0.59, all certificates were generated using openssl on Redhat linux.


Thanks

Nov 4, 2011 2:28 AM in response to Matevz Gacnik

Hi,


I have setup the lab with IIS (Windows 2003 R2) and enabled Directory Services certificate mapping and required certificate authentication on web site.


Client Certificate Authentication works perfectly with one or more certificates on iPhone 4 (IOS 5). If you have only one certificate, mobile Safari does not ask you for certificate selection, it just authenticates you without any problem. If you have more certificates, then you have to select the wanted certificate and it works like a charm.


I am using 2048 bit RootCA key and 1024-bit and 2048-bit user certificates. It all work, so it does not depend on key lenght.

Important thing is that I am using only one level in PKI hierarhy, so only RootCA server.


In other lab, certificates are issued using 3-tier PKI hierarhy and Client Certificate authentication does not work. Mobile Safari does not ask for certificate and does not show any error message. There is only error message from IIS that this page requires certificate authentication.


It looks like that mobile Safari does not recognize certificates issued from 3-tier PKI. I did not try 2-tier PKI, will do that soon.


Any information from Apple on 3-tier PKI support?


Thanks,

Stibra

Jan 19, 2012 7:38 AM in response to oblabla

Yes, after detailed testing with different certificate sizes and different PKI hierachy, IOS 4.x works fine with 2-tier, while IOS 5.x supports only 1-tier PKI.

I do not have Apple support agreement, but would like to hear something officialy from Apple about that and when they plan to implement normal behaviour and support 2 and 3-tier PKI for certificate client authentication in Safari.

Client SSL Certificate Authentication

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.