API Developer Portal: Unable to enroll: Unknown host
Article ID: 185923
CA API Gateway
CA API Developer Portal
CA API Management SaaS
I'm trying to enroll the gateway to the portal by when I paste the URL from the portal, I get "Unable to enroll: Unknown host"
Component : API Portal
The issue was due to the Gateway inability to resolve the enroll host of portal.
Both the gateway and the portal will need to be able to communicate with one another and the portal must have the correct host entries configured.
To resolve the issue you will need to modify the docker compose file to include the 'extra_host' entries for the various portal host ip mappings.
Configure DNS on Portal
This includes: apim.
.com apim-ssg.example.com analytics.example.com broker.example.com sso.example.com sync.example.com enroll.example.com
Also if this is an internal system you will need to update the local systems host files to accommodate these host entries:
Local Host File