While configuring Analytics Plus integration in ServiceDesk Plus, the integration may fail with the below SSL error:
javax.net.ssl.SSLPeerUnverifiedException: SSL handshake failed because the
certificate for <Given Host Name> does not match any of the Subject Alternative Names [*.xxx.yyy.com, xxx.yyy.com]This error occurs when ServiceDesk Plus attempts to connect to Analytics Plus using a hostname that is not covered by the SSL certificate configured in Analytics Plus. For a successful SSL handshake, the Analytics Plus URL configured in ServiceDesk Plus must match the Common Name (CN) or one of the Subject Alternative Names (SANs) present in the Analytics Plus SSL certificate.
To resolve this issue, follow the appropriate scenario below based on your current Analytics Plus SSL certificate configuration.

- Steps:
- Log in to the server where your Analytics Plus application is installed.
- Open Command Prompt (on Windows) or Terminal (on Linux).
- Navigate to the following directory:
<Analytics Plus Home>\bin
- Run the SSL generation script with the required SAN values:
genSSLCert.bat dns:<hostname>,ip:<IP address>,dns:<FQDN or Alias URL>
Example:If your Analytics Plus server has:- Hostname:
analytics-server
- IP Address:
192.168.1.1
- FQDn or Alias URL:
analytics-server.acmecorp.com
Run the following command:genSSLCert.bat dns:analytics-server,ip:192.168.1.1,dns:analytics-server.acmecorp.com
Notes:- We recommend including all possible identifiers (hostname, FQDN, IP address or Alias URL) in the SAN field.
- Use
ip: for IP addresses.
- Use
dns: for hostnames, FQDNs, or Alias names.
- Ensure your Analytics Plus build number is 5220 or above to use the
genSSLCert script.
- Replace the values with those specific to your server environment.
This also applies if you're planning to use a custom alias URL (e.g., analyticsplus.company.com) for integration.
In that case:
- Include the alias under
dns: while generating the self-signed certificate.
- Make sure to configure this alias URL under
Settings → Configuration → Advanced Settings → Alias URL in AnalyticsPlus.
analyticsplus.company.com).Important Note:
By default, most valid SSL certificates do not include IP addresses or hostnames unless explicitly added in the SAN (Subject Alternative Name) field. Therefore, it is mandatory to create and use a custom Alias URL that matches one of the SAN entries when integrating AnalyticsPlus with ServiceDesk Plus.Tip:
While it is technically possible to obtain a valid SSL certificate that includes an IP address or hostname:
Public CAs rarely issue certificates for private IP addresses (like192.168.x.xor10.x.x.x). Hostnames (FQDNs) are the preferred standard and are widely supported.