-
-
Notifications
You must be signed in to change notification settings - Fork 570
Description
I have two servers, dns1.domain.com and dns2.domain.com, both already configured for DoT and DoH with valid SSL certs. I created a cluster, and for the domain I entered filter.domain.com and then joined the second server to the cluster. The cluster nodes now appear as dns1.filter.domain.com and dns2.filter.domain.com. Everything seemed OK until I tested the Apps.
When clicking the Config button for any installed Apps on dns2, I get the error:
Error! The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch (dns1.filter.domain.com:53443)
I checked the logs on dns2, and found it full of errors:
Heartbeat failed for Primary node 'dns1.filter.domain.com (, )'.
System.Net.Http.HttpRequestException: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch (dns1.filter.domain.com:53443)
Viewing the cluster settings page from dns1 shows the secondary node dns2 is connected; but viewing the cluster settings page from dns2 shows the primary node dns1 as unreachable.
These errors make sense given that the SSL certs are for dnsx.domain.com and not dnsx.filter.domain.com, but what's the solution to this? Is it not possible to use both valid publicly accessible certs for DoT and DoH and the cluster feature simultaneously?