It does read that from the certificate, it will take the first SAN (Subject Alternative Name) and listen for that fqdn for captive portal.
If you have CLI access, the command 'show captive-portal-domains' under 'Internal captive portal domain' shows what the AP has configured from the certificate. That is used if you use the internal captive portal, but also when using an external captive portal as the authentication address.
AP-515# show captive-portal-domains
Internal Captive Portal Domain:
securelogin.hpe.com
External Captive Portal Domains:
cppm.arubalab.com
------------------------------
Herman Robers
------------------------
If you have urgent issues, always contact your Aruba partner, distributor, or Aruba TAC Support. Check
https://www.arubanetworks.com/support-services/contact-support/ for how to contact Aruba TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or Aruba Networks.
In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
------------------------------