Problem
When testing the connection from Confluence to SharePoint you get the follwing error:
Test call SharePoint service failed:: The https URL hostname does not match the Common Name (CN) on the server certificate.
To disable this check (NOT recommended for production) set the CXF client TLS configuration property "disableCNCheck" to true.
Background Information
The error is part of a JAVA 8 Bug (documented in this bug report).
The SharePoint Connector does not do the certification check or handshake. This is done by JAVA. SharePoint Connector uses an Apache SOAP CXF library for the connection check.
Solution
You will need to update JAVA on your Confluence server to Version 9 (not release when this article had been written) or JAVA 1_8u141 (not release when this article had been written)
Workaround
You can add a certificate for the default website with the correct CN
Related Articles
Filter by label
There are no items with the selected labels at this time.