We are trying to connect to a backend with 2-way SSL implemented. We have uploaded the backend’s Certificate as a TrustStore (AAA-Enabler) and have provided our Certificate to the backend developers (ApixPreprodClientCert). We have named both the Keystore and Alias as ApixPreprodClientCert.
In our HTTPTargetConnection, we have SSLInfo like :-
<SSLInfo>
<Enabled>true</Enabled>
<ClientAuthEnabled>true</ClientAuthEnabled>
<KeyStore>ApixPreprodClientCert</KeyStore>
<KeyAlias>ApixPreprodClientCert</KeyAlias>
<TrustStore>AAA-Enabler</TrustStore>
<IgnoreValidationErrors>true</IgnoreValidationErrors>
</SSLInfo>
When trying to invoke this API, we get the following fault before target can be invoked:-
|
error |
Proxy refused to create tunnel with response status 403 |
|---|---|
|
type |
ErrorPoint |
|
state |
TARGET_REQ_FLOW |
|
error.class |
com.apigee.errors.http.server.ServiceUnavailableException |
|
Identifier |
fault |
We are successfully able to make a cURL request to the backend using both the certificate like :-
curl -ivs -cacert ./cert.pem --cert ./client.crt --key
./client.key -d @pass.xml [https://backendhost:backendport/resource](https://backendhost:backendport/resource) -X POST
We are simply not able to figure out why can’t we make a call from the API. Please help.