Jaws and SSL client certificate - I get a cert selection popup
843802Sep 2 2009 — edited Nov 9 2009Hi,
I'm using JAWS to launch a JavaFx application (from the desktop, not the browser). The application connects to the server using SSL and client certificates.
I set the cert files before opening the connection to the server using this code:
SSLContext ctx = SSLContext.getInstance("TLS");
KeyManager[] km = kmf.getKeyManagers();
TrustManager[] tm = tmf.getTrustManagers();
ctx.init(km, tm, null);
HttpsURLConnection.setDefaultSSLSocketFactory(ctx.getSocketFactory());
When starting the application using a JNPL file, at the first SSL connection a popup is automatically displayed, asking to select a client certificate (and the list is empty). The SSL connection fails. The second time, no popup, and the connection is established using the cert I have specified in the code.
If I start the application "manually" with javafx, the problem does not appear.
Any ideas on what could happen with JAWS ?
Thanks.