You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Bruno Harbulot (JIRA)" <ji...@apache.org> on 2008/08/02 18:35:44 UTC

[jira] Created: (HTTPCLIENT-789) Support for passing an SSLContext to the SSLSocketFactory of HttpClient

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


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


[jira] Updated: (HTTPCLIENT-789) Support for passing an SSLContext to the SSLSocketFactory of HttpClient

Posted by "Bruno Harbulot (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCLIENT-789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bruno Harbulot updated HTTPCLIENT-789:
--------------------------------------

    Attachment: sslcontext-682001.patch

Here is a patch that adds a couple of constructors for passing an 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


[jira] Commented: (HTTPCLIENT-789) Support for passing an SSLContext to the SSLSocketFactory of HttpClient

Posted by "Bruno Harbulot (JIRA)" <ji...@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


[jira] Updated: (HTTPCLIENT-789) Support for passing an SSLContext to the SSLSocketFactory of HttpClient

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCLIENT-789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski updated HTTPCLIENT-789:
-----------------------------------------

    Fix Version/s: 4.0 Beta 1

I'll commit the patch as soon as I am back from holidays

Oleg

> 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
>             Fix For: 4.0 Beta 1
>
>         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


[jira] Resolved: (HTTPCLIENT-789) Support for passing an SSLContext to the SSLSocketFactory of HttpClient

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCLIENT-789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski resolved HTTPCLIENT-789.
------------------------------------------

    Resolution: Fixed

Patch checked in. Many thanks, Bruno

Oleg

> 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
>             Fix For: 4.0 Beta 1
>
>         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