hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sukesh Kumar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-1445) Unable to access WebService through WebSphere Application Server with new HttpClient
Date Mon, 06 Jan 2014 21:23:51 GMT

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-1445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13863436#comment-13863436

Sukesh Kumar commented on HTTPCLIENT-1445:

We also tried to get in touch with IBM team, and here goes their response:

As per traces I see it using cacert file as keystore and truststore.
Your application attempt to use cacert file as keystore and truststore.. Which means Programmatic
SSL will overwrite the wesphere SSL onfiguration.. Websphere never use cacerts file because
websphere always use websphere socketfactory where it will attempt to use our WAs keystore
( key.p12) and truststore ( trust.p12)
You may need to check with Apache support if they are trying to use CACERT.

> Unable to access WebService through WebSphere Application Server with new HttpClient
> ------------------------------------------------------------------------------------
>                 Key: HTTPCLIENT-1445
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1445
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 4.2.6
>         Environment: OS- Windows
> Application Server- WebSphere Application Server
>            Reporter: Sukesh Kumar
>              Labels: httpclient, ssl, websphere
> Hi,
> My project needs to access a 2-way SSL WebService. 
> I am configuring WebSphere Application Server's (WAS) signer certificate to setup the
trust between my application's server and the external server hosting the webservice.  
> With HttpClient 4.0, I am successfully able to connect to the WebService and I get the
expected response. 
> When I change the HttpClient to 4.2.5, the server returns a 500 response. For the code
to work on new API, I have to write the code to use WAS alias, which I do not want to do.

> I expected the new version to work the same way as the old one. I am not sure what has
changed with this new version. Please help.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message