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/etcHost 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.
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.
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.
This article applies to all versions of Appian.
Last Reviewed: November 2019
© 2022 Appian. All rights reserved.