Complete certificates configuration is done over three API Manager screens:
NOTE
- Certificate:
*sensedia.com- Inbound Address:
demo.sensedia.com- Environment:
demo.sensedia.com/devIn this scenario, all environments created from the inbound address
demo.sensedia.comwill use the certificate*sensedia.com.
The mutual exchange of certificates has two sides, each with their respective credentials.
These are the credentials used when configuring mTLS:
certificate_partner.pem: the certificate itself.privateKey_partner.pem: private key.ca_partner.pem: Trusted CA β certificate of the certifying authority that generated the partner's certificate.certificate_host.pem: the certificate itself.privateKey_host.pem: private key.chain_host.pem: certificate chain generated when the inbound certificate was created.With this data, register the certificate:
Go to Virtual Hosts > Certificates in the API Manager;
Click the + button;
To register a certificate used by an inbound address, check the Inbound Certificate option;
Fill in the fields:
certificate_host.pem).privateKey_host.pem)chain_host.pem)ca_partner.pem).After inserting the certificate in the API Manager, you can assign it to the address it will respond to:
Go to the Inbound Addresses screen;
In the Protocol Type field, choose HTTPS or HTTP|HTTPS;
In Security, choose mTLS;
In TLS Version, define the range of supported TLS versions;
Finally, in Certificates, select the registered certificate.
With these configurations, any environment created based on this inbound address will start receiving calls with mTLS connection.
NOTEA possible call made by the partner is:
With the configurations made, the expected behavior is that both sides validate the certificates they received:
- the partner validates the certificate registered in the inbound address in their trusted_store;
- the host validates the certificate received from the partner, as the partner's Trusted CA was registered in the Manager.
We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more