SSL Validation

I am a new person to Java. I am using PKCS12 files to perform SSL Validation (using JDK 1.6.0_01) and am receiving the following SSLHandshakeException:

sun.security.validator.ValidatorException: Extended key usage does not permit use for TLS client authentication.

Note: This is happening when my client and server are using different certs. If I use the same cert, of course, the handshake works. Also, if I use J2SDK 1.4.2_13, my SSL handshake is fine between the server and client, when using different certs for client and server!

[560 byte] By [anewbiea] at [2007-11-27 9:02:29]
# 1
One of the certificates is being used for a purpose other than that for which it was issued.
ejpa at 2007-7-12 21:33:18 > top of Java-index,Security,Java Secure Socket Extension (JSSE)...