Reports Tab is spinning and unable to load in the Portal.
Caused by: javax.net.ssl.SSLPeerUnverifiedException: Certificate for <localhost> doesn't match any of the subject alternative names: [xxx00A0089.xxx.com, xxx00A0089, xxx00A0089.xxx.corp]
How do we resolve this?
Also, is there a way to disable the check for DNS name match in Certificates for DEVTEST Portal?
Release : 10.7 or newer
Component : DevTest Application Test
The issue is because the common name or Subject Alternative Name of the SSL Certificate does not match with the domain or hostname value of the registry.host property in phoenix.properties file. As the SSL certificate they added to the Keystore file specified in the "phoenix.ssl.keystore".doesn't have "localhost" as the Subject Alternative Name it is failing to establish the connection with the below error:
If using Valid certs:
You need to add the below property in phoenix.properties file with any of the SANs mentioned in the error message:
registry.host=FQDN(the hostname with which registry is getting called)
Example:
registry.host=<RegistryHost>
registry.https.enabled=true
OR
We can disable the SSL hostname validation by adding the below property in Portal.vmoptions or PortalService.vmoptions.
-Dzuul.sslHostnameValidationEnabled=false