Skip to Main Content

Java Security

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!

Role of certificate chain for client certificate authentication

880541Aug 5 2011 — edited Aug 22 2011
Hello.

I have a two server setup where the two servers communicate with each other over SSL. The SSL connection requires mutual authentication.

The SSL handshake happens successfully if both the server certificates have Server Authentication & Client Authentication in their Key Usage. However, if one of the server certificates has only Server Authentication as its Key Usage then the other server rejects this certificate with an error. This is expected.

The puzzling behavior is that if I use a certificate that is set for Server Authentication only but with its full certificate chain containing all intermediate & root CA certificates, the same certificate is accepted as a valid client certificate by the other server.

Is there a difference in the validation mechanism for client certificates if the full chain of the client certificate is present?

Thank You.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 19 2011
Added on Aug 5 2011
4 comments
849 views