This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Client Certificate not presented when using Sun JDK

 
Cindy Jones
Ranch Hand
Posts: 66
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to connect to a server that requires 2 way authentication. The keystore has a private key and intermediate certificate that the server issued.

I point to the keystore using the parameter -Djavax.net.ssl.keyStore.

My request is resulting in an error response when I try to connect using Sun JDK1.4.2, 1.5, IBM JDK 1.5.
of HTTP Error 403.7 Forbidden: SSL client certificate is required. from the server.

However this works when I use IBM Jdk1.4.2

Any thoughts?

Thanks!
 
greg stark
Ranch Hand
Posts: 220
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
did you supply the keystore and/or entry password(s)?
 
Cindy Jones
Ranch Hand
Posts: 66
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes I did. The client certificate is just not being presented by the JDK. I tried to run the same code with the same keystore and certificate with IBM JDK1.4.2 and that works.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic