When running:
set-simple-gateway usercheck-portal-settings.portal-web-settings.main-url "https://hostname.tld/UserCheck"
the command fails with generic_error and "DNS failed to resolve the hostname: hostname.tld."
I've checked with tcpdump and the SmartCenter is resolving this name correctly.
Setting the Main URL field via SmartConsole succeeds.
Setting other hostnames, like www.cnn.com, work.
I use hostname.tld on multiple gateways, as all of them are contained behind the same load balancer in Azure.
api.elg and cpm.elg confirm the issue is related to gateway_legacy.portals_manager.PortalRequestsValidationHelper.
Anyone seen something similar?
The goal is to set a name and certificate for UserCheck in Azure Scale Set gateways.