Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E31298D19 for ; Wed, 10 Aug 2011 13:09:53 +0000 (UTC) Received: (qmail 57158 invoked by uid 500); 10 Aug 2011 13:09:53 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 57010 invoked by uid 500); 10 Aug 2011 13:09:52 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 56990 invoked by uid 99); 10 Aug 2011 13:09:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2011 13:09:51 +0000 X-ASF-Spam-Status: No, hits=-2000.8 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2011 13:09:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2A1D8B5E95 for ; Wed, 10 Aug 2011 13:09:27 +0000 (UTC) Date: Wed, 10 Aug 2011 13:09:27 +0000 (UTC) From: "James Leigh (JIRA)" To: dev@hc.apache.org Message-ID: <1097484238.23628.1312981767169.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (HTTPCORE-268) RuntimeException: PKCS11Exception: CKR_DOMAIN_PARAMS_INVALID Not Handled by SSIOSession MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org RuntimeException: PKCS11Exception: CKR_DOMAIN_PARAMS_INVALID Not Handled by SSIOSession --------------------------------------------------------------------------------------- Key: HTTPCORE-268 URL: https://issues.apache.org/jira/browse/HTTPCORE-268 Project: HttpComponents HttpCore Issue Type: Bug Components: HttpCore Affects Versions: 4.1.3 Environment: The server is running httpcore 4.1.3. OpenJDK Runtime Environment (IcedTea6 1.8.7) (6b18-1.8.7-2~squeeze1) OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) The client is a Black Berry PlayBook 1.0.7 browser attempting to open an SSL connection to the server. Reporter: James Leigh The following exception should be handled by httpcore to keep the i/o reactor going. org.apache.http.nio.reactor.IOReactorException: I/O dispatch worker terminated abnormally at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:321) at org.openrdf.http.object.HTTPObjectServer$5.run(HTTPObjectServer.java:410) at java.lang.Thread.run(Thread.java:636) Caused by: java.lang.RuntimeException: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_DOMAIN_PARAMS_INVALID at sun.security.ssl.Handshaker.checkThrown(Handshaker.java:1029) at sun.security.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:503) at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:751) at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:719) at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624) at org.apache.http.impl.nio.reactor.SSLIOSession.doHandshake(SSLIOSession.java:163) at org.apache.http.impl.nio.reactor.SSLIOSession.isAppInputReady(SSLIOSession.java:265) at org.apache.http.impl.nio.SSLServerIOEventDispatch.inputReady(SSLServerIOEventDispatch.java:229) at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:158) at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:340) at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:318) at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:278) at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104) at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:542) ... 1 more Caused by: java.security.ProviderException: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_DOMAIN_PARAMS_INVALID at sun.security.pkcs11.P11KeyPairGenerator.generateKeyPair(P11KeyPairGenerator.java:323) at java.security.KeyPairGenerator$Delegate.generateKeyPair(KeyPairGenerator.java:673) at sun.security.ssl.ECDHCrypt.(ECDHCrypt.java:63) at sun.security.ssl.ServerHandshaker.setupEphemeralECDHKeys(ServerHandshaker.java:991) at sun.security.ssl.ServerHandshaker.trySetCipherSuite(ServerHandshaker.java:872) at sun.security.ssl.ServerHandshaker.chooseCipherSuite(ServerHandshaker.java:801) at sun.security.ssl.ServerHandshaker.clientHello(ServerHandshaker.java:576) at sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:170) at sun.security.ssl.Handshaker.processLoop(Handshaker.java:610) at sun.security.ssl.Handshaker$1.run(Handshaker.java:550) at sun.security.ssl.Handshaker$1.run(Handshaker.java:548) at java.security.AccessController.doPrivileged(Native Method) at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:969) at org.apache.http.impl.nio.reactor.SSLIOSession.doHandshake(SSLIOSession.java:171) ... 9 more Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_DOMAIN_PARAMS_INVALID at sun.security.pkcs11.wrapper.PKCS11.C_GenerateKeyPair(Native Method) at sun.security.pkcs11.P11KeyPairGenerator.generateKeyPair(P11KeyPairGenerator.java:314) ... 22 more -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org