This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Client Certificate not presented when using Sun JDK

 
Cindy Jones
Ranch Hand
Posts: 66
  • 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
  • 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic