-
Bug
-
Resolution: Fixed
-
P3
-
unknown, 1.0.2
-
None
-
1.0.3
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2110154 | 1.4.0 | Bradford Wetmore | P3 | Resolved | Fixed | beta3 |
Pierre of HP reports that SSL-C is throwing NullPointerExceptions:
java.lang.NullPointerException
at com.sun.net.ssl.internal.ssl.X509KeyManagerImpl.getClientAliases([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.ssl.X509KeyManagerImpl.chooseClientAlias([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.ssl.JsseX509KeyManager.chooseClientAlias([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.ssl.ClientHandshaker.a([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.ssl.Handshaker.process_record([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.ssl.AppOutputStream.write([DashoPro-V1.2-120198])
at java.io.OutputStream.write(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake([DashoPro-V1.2-120198])
at SSLSocketClientWithClientAuth.main(SSLSocketClientWithClientAuth.java:138)
The problem is with the code here. If we receive anything
besides DSA and RSA, we are sending a null keytype into the KM:
String keyType = null;
if (certRequest.types[i] == CertificateRequest.cct_rsa_sign)
keyType = "RSA";
else if (certRequest.types[i] ==
CertificateRequest.cct_dss_sign)
keyType = "DSA";
alias = km.chooseClientAlias(new String[] { keyType },
certRequest.getAuthorities(), conn);
- backported by
-
JDK-2110154 receiving rsa_fixed_dh or dss_fixed_dh cert request types causes null pointer.
-
- Resolved
-
- duplicates
-
JDK-4394845 jsse client authentication message generation throws a null pointer
-
- Closed
-