Return-Path: Delivered-To: apmail-hc-dev-archive@www.apache.org Received: (qmail 91587 invoked from network); 18 Jun 2010 15:27:45 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Jun 2010 15:27:45 -0000 Received: (qmail 6799 invoked by uid 500); 18 Jun 2010 15:27:45 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 6685 invoked by uid 500); 18 Jun 2010 15:27:44 -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 6677 invoked by uid 99); 18 Jun 2010 15:27:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jun 2010 15:27:44 +0000 X-ASF-Spam-Status: No, hits=-1530.4 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jun 2010 15:27:44 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5IFRNXA027008 for ; Fri, 18 Jun 2010 15:27:23 GMT Message-ID: <7960645.80701276874843517.JavaMail.jira@thor> Date: Fri, 18 Jun 2010 11:27:23 -0400 (EDT) From: "Angela Schmid (JIRA)" To: dev@hc.apache.org Subject: [jira] Commented: (HTTPCLIENT-952) SSLSocketFactory.createSSLContext does not process trust store In-Reply-To: <17904966.2401276091787171.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HTTPCLIENT-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12880228#action_12880228 ] Angela Schmid commented on HTTPCLIENT-952: ------------------------------------------ Hello Oleg I will try the mvn compile .. Just wanted to let you know that the fix (trust store) worked. Thanks a lot. What I was looking for was a comparison against JSSE. Why would developers use HttpComponents over JSSE. Could not find something in the wiki. Can you help me out. Thanks Angela > SSLSocketFactory.createSSLContext does not process trust store > -------------------------------------------------------------- > > Key: HTTPCLIENT-952 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-952 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpClient > Affects Versions: 4.1 Alpha2 > Reporter: Angela Schmid > Fix For: 4.1 Alpha3 > > > org.apache.http.conn.ssl.SSLSocketFactory.createSSLContext() does not process a provided trust store. > Only the default (cacerts) is processed. An additional provided trust store is ignored. > Adding the "trusted" certificate to the keystore, the peer is authenticated. > Eventually > tmfactory.init(keystore); > needs to be > tmfactory.init(truststore); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org