Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Jaws and SSL client certificate - I get a cert selection popup

843802Sep 2 2009 — edited Nov 9 2009
Hi,

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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 7 2009
Added on Sep 2 2009
4 comments
439 views