A HTTPS connection attempt fails with an error similar to:
SSLHandshakeException: No subject alternative DNS name matching <hostname> found
while a client validates a certificate presented by the remote HTTP server.
The failure occurs during TLS handshake, before any application data is exchanged.
This issue can affect any HTTPS client, including agents, services, scripts, or applications.
The hostname used in the HTTPS URL doesn't match any entry in the server certificate’s Subject Alternative Name (SAN) field.
Important notes:
The certificate being validated belongs to the remote HTTPS service (the server being contacted), not to the client.
Restarting the FMS, FglAM, or the agent doesn't affect this certificate.
The restart is performed on the server hosting the HTTPS endpoint, not on the client.
Note: Do not restart the FMS or FglAM. They act only as HTTPS clients and do not present certificates in this connection.
openssl s_client -connect <hostname>:<port> -servername <hostname> | openssl x509 -noout -text
If the hostname is missing from certificate SAN, the failure is expected.