- There's a requirement have TLS encryption with custom domains from the caller, through API management to the APIs
- API Management deployed in internal mode
Left: http://gateway.company.com Right: https://api.company.com
- Azure API Management
- Azure Private DNS
- App Services
Steps:
- Obtain your certificates or generate your certificates using let's encrypt
- Deploy the certificate and update the portal and gateway domains in API Management
- Deploy the root and intermediate certificates to API Management
Tip: How to get the root and intermedicate certificates for the backed authentication
- Deploy the client certificates to the APIs
- Configure the APIs using ssl.
- If you were using App Services for example, make sure the use a custom domain
- If you are working with internal services, make sure to configure DNS. You will need entries for the portal and gateway which is the same internal IP address for the API Management.
Steps:
- Generate a root CA
- Generate a client certificates for portal, gateway and APIs
- Deploy the certificate and update the portal and gateway domains
- Deploy the self-signed root certificate API Management
- Deploy the client certificates to the APIs
- Configure the APIs using ssl
- If you were using App Services for example, make sure the use a custom domain
- If you are working with internal services, make sure to configure DNS. You will need entries for the portal and gateway which is the same internal IP address for the API Management.
- DNS resolution
- install the intermediate and root certificates
- If using NSGs on the APIM subnet, ensure that port TCP port 443 is open
The client maching making the call the through API should have all the required certificates installed. Once the requests lands on API Management, it will forward the requests onto the target API over https. Encryption and decryption occers by using the root and intermediate certificates.