KB-2020 Host name does not match the certificate subject provided by the peer (CN=customer.endpoint.com)

Symptoms

When testing an integration with an HTTPS endpoint using the IP address, users may see the following error:

Failed to connect to https://<IP_ADDRESS>/example/endpoint/etc
Host name '<IP_ADDRESS>' does not match the certificate subject provided by the peer (CN=sample.fqdn.com, O=Organization, L=Location, ST=State, C=Country)

This can happen even when the certificate has been added as a client certificate in the Administration Console.

Cause

The IP address has not been added to the certificate as an IPAddress attribute under the SubjectAltName section of the certificate. Note that adding the IP address as a DNSName attribute does not work.

Action

Add the IP address as an IPAddress attribute under the SubjectAltName section of the certificate, then upload the new certificate to the Administration Console Client Certificate store.

Affected Versions

This article applies to all versions of Appian.

Last Reviewed: November 2019

Related
Recommended