[
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 7.0.0.11
> 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
(v6.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]