I've created a mini message bus which runs operations on its clients (e.g. clear their cache). I'm trying to make it dynamic so every new application added will automatically subscribe its endpoint to the bus so the bus could communicate with it later on. Applications are behind a load balancer, so I've tried to subscribe with an explicit ip of each new application. I've got the error of 'Could not establish trust relationship for the SSL/TLS secure channel with authority', because the certificate was issued to domain name, not to IP and I'm on TransportWithMessageCredential security mode (I prefer not to use the ServicePointManager.ServerCertificateValidationCallback trick because it applies to entire application).
Any idea how could I achieve this dynamic behavior so every new server added could subscribe to the message bus and the message bus could run operations specifically on that server node?