You need to make the certificate trusted in your system.
You might need to install the CA that signs the certificate.
Thanks Ted for your response.
We have installed the CA certificate as trusted.
However, we have observed that when we have one client certificate only, the dialog requesting the certificate doesn't appear. This is OK because there is only one client certificate.
But when we have more than one client certificate from the trusted CA, the dialog appears requesting the certificate. Then we choose one and it works. This is OK, but it continues appearing each time we invoke to the server.
Is there a way to make the dialog appear only once and stop showing the dialog every time?
I don't have the answer. If I find out the answer, I will let you know.
I doubt this can be done tough.
Thanks for you reply.
Then, how can we develop an AIR application that uses client certificates?
We think this is a bug. If the user must select the client certificate in each application interaction with the server, the application is unusable.
I have just sent a Feature Request/Bug Report with the following text:
"We are experiencing a problem using AIR with a server that requires authentication via client certificate.
The dialog for selecting the client certificate appears every time that the AIR application interacts with the server (not only the first time).
Steps to reproduce bug:
1. Install Apache HTTP Server with SSL and require client certificate in order to authenticate.
2. Develop an AIR Application that connects to this server (HTTPService or RemoteObject have been tested with the same result).
3. Every time that the AIR application connect to the server, the dialog appears in order the user to select the client certificate.
Results: This makes the AIR application unusable.
Expected results: The dialog requesting the client certificate should appear the first time only."
I think there is a workaround that consists in splitting the server application in two parts.
It would be possible to make the authentication in one part of the server that requires the client certificate and continue the execution of the application in another part of the server that does not require the client certificate.
I have same problems now. With latest AIR SDK 2.
How we can develop apps for users?
Thanks for reporting this issue. I have logged a bug describing this issue on our internal bug tracker and have sent it to review.
Edit: Internal Bug #2331039