Originally posted by: carao2020
Hi All,
Could you please help me on resolving the below issue. When I am trying to send data to HTTP over SSL using WTX 8.4 HTTP Adapter, I am getting below error. Please see below adapter Trace.
Authentication mode is Client Certificate Authentication. I am using below
-METHOD POST
-CA <CA Certificates in PEM format>
-CERT <Client Certificate>
-PKEY <Client Certificate with Private Key>
If I try sending test data with curl, I am able to send data successfully.
curl -X POST --data "TEST Data" -v --capath ./ --cacert ./<CA Certficate>.pem --cert ./<Client Certficate>.pem "<URL>"
Options used: trace,verbose,name,method,url,type,ca,cert,pkey,sproto,timeout
URL user: ''.
URL pass: '*****'.
URL host: '<Host Name>'.
URL port: '443'.
URL path: '<URL Path>'.
Using https: protocol.
Using HTTP/1.1.
Using ALL, SSL algorithms.
[WSAStart: Entering]
[WSAStart: bWSStarted = 1, nWSClients = 0]
Sockets Client ID 1 enabled.
[WSAStart: Exiting (rc = 1)]
Server host is '<Host Name>'.
Hostname: '<Host Name>'.
Address #1: <IP Address>.
Using port '443' for the connection.
Connecting to '<Host Name>'.
Checking user port 443.
Service: 'https'.
Port: 443.
Protocol: 'tcp'.
Socket Opened.
Connection attempt is in progress.
Connected.
WSAConnectSSL: SSL_ERROR_SSL: SSL handshake protocol failure.
WSAConnectSSL: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
WSAConnectSSL:
Failure: SSL connection NOT established with target server, <Host Name>, on port, 443.
Socket Closed.
Connection closed.
[WSATerm: Entering]
[WSATerm: bWSStarted = 1, nWSClients = 1]
Sockets Client ID 1 disabled.
[WSATerm: nWSClients remaining = 0]
[WSATerm: Exiting]
Attempt #1 failed, no more retries allowed.
Kindly review and advise. Thanks in advance.
#IBM-Websphere-Transformation-Extender#IBMSterlingTransformationExtender#DataExchange