[
https://issues.apache.org/jira/browse/AMQ-9279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Onofré updated AMQ-9279:
--------------------------------------
Fix Version/s: 5.18.3
(was: 5.18.2)
> Can not connect ActiveMQ via IPv6 address with SSL
> --------------------------------------------------
>
> Key: AMQ-9279
> URL: https://issues.apache.org/jira/browse/AMQ-9279
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.18.1
> Environment: JDK 11.0.2
> ActiveMQ 5.18.1 (I've not try the early version. However, I think they may
> contains the same problem)
> Reporter: Edwin Wang
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Fix For: 5.19.0, 5.17.5, 5.18.3
>
>
> The client will throw "Contains non-LDH ASCII characters" exception when
> connect via IPv6 with SSL.
> Without SSL(this work well):
> nio://[fe80::6ccd:54aa:f58d:fd59]:61616
> With SSL(this will cause the excepiton):
> nio+ssl://[fe80::6ccd:54aa:f58d:fd59]:61616
>
> I think the issue is caused by javax.net.ssl.SNIHostName can not accept ":"
> as part of the hostname. I suggest the class
> org.apache.activemq.transport.tcp.SslTransport.java should check the format
> before create SNIHostName. Both IPv4 and IPv6 address should not be set for
> SNI according to RFC6066.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)