API Developer Portal: Unable to enroll: Unknown host
book
Article ID: 185923
calendar_today
Updated On:
Products
CA API GatewayCA API Developer PortalCA API Management SaaS
Issue/Introduction
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"
Environment
Component : API Portal
Cause
The issue was due to the Gateway inability to resolve the enroll host of portal.
Resolution
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.example.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