You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by luksi1 <lu...@vgregion.se> on 2019/02/18 20:11:35 UTC

Network of Brokers + verifyHostName=false

We're unable to get the our network of brokers connector to work without
hostname verification. Is there something wrong with this? 

```
<networkConnector
uri="masterslave://(ssl://foo.domain.se:61618,ssl://bar.domain.se:6168)?transport.verifyHostName=false"
duplex="true" name="Foo" networkTTL="5"
decreaseNetworkConsumerPriority="true">
```

And it's failing with:

```
javax.net.ssl.SSLHandshakeException:
java.security.cert.CertificateException: No
 subject alternative DNS name matching vgas1707.vgregion.se found.
```

Using the "correct" hostname via our VIP works, so there's nothing wrong
with the networkConnector, but calling the node directly with the "wrong"
hostname and verifyHostname=false bails out. Ideas?




--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html