Return-Path: Delivered-To: apmail-hc-dev-archive@www.apache.org Received: (qmail 35092 invoked from network); 2 Aug 2008 17:08:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Aug 2008 17:08:43 -0000 Received: (qmail 41468 invoked by uid 500); 2 Aug 2008 17:08:42 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 41435 invoked by uid 500); 2 Aug 2008 17:08:42 -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 41424 invoked by uid 99); 2 Aug 2008 17:08:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Aug 2008 10:08:42 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Aug 2008 17:07:47 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 43F87234C190 for ; Sat, 2 Aug 2008 10:07:44 -0700 (PDT) Message-ID: <1660076932.1217696864276.JavaMail.jira@brutus> Date: Sat, 2 Aug 2008 10:07:44 -0700 (PDT) From: "Bruno Harbulot (JIRA)" To: dev@hc.apache.org Subject: [jira] Commented: (HTTPCLIENT-789) Support for passing an SSLContext to the SSLSocketFactory of HttpClient In-Reply-To: <1700266343.1217694944741.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619254#action_12619254 ] Bruno Harbulot commented on HTTPCLIENT-789: ------------------------------------------- If one day HttpClient was made to require Java 6, it could be possible to use the default SSLContext when the constructor argument is null: if (sslContext == null) { this.sslContext = SSLContext.getDefault(); } else { this.sslcontext = sslContext; } > Support for passing an SSLContext to the SSLSocketFactory of HttpClient > ----------------------------------------------------------------------- > > Key: HTTPCLIENT-789 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-789 > Project: HttpComponents HttpClient > Issue Type: Improvement > Components: HttpClient > Affects Versions: Snapshot > Reporter: Bruno Harbulot > Attachments: sslcontext-682001.patch > > > Would it be possible to use an existing instance of SSLContext to initialise an SSLSocketFactory? This would allow using SSLContexts configured with more options, such as CRLs. > (This follows the thread of the httpclient-commons-dev list: http://marc.info/?l=httpclient-commons-dev&m=121737017814116&w=2 ). -- 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