在Amazon MQ中,当我们从Active MQ客户端连接到Amazon MQ代理时,我们只使用连接 URL,ssl://<broker>:61617但在整个 AWS 文档中没有提到此客户端-代理通信是否安全以及TLS客户端-代理连接使用哪个版本。下面是 AWS在此处提供的连接 Amazon MQ 的示例代码片段。
// Create a connection factory.
final ActiveMQConnectionFactory connectionFactory = new ActiveMQConnectionFactory(wireLevelEndpoint);
// Pass the username and password.
connectionFactory.setUserName(activeMqUsername);
connectionFactory.setPassword(activeMqPassword);
// Create a pooled connection factory.
final PooledConnectionFactory pooledConnectionFactory = new PooledConnectionFactory();
pooledConnectionFactory.setConnectionFactory(connectionFactory);
pooledConnectionFactory.setMaxConnections(10);
// Establish a connection for the producer.
final Connection producerConnection = pooledConnectionFactory.createConnection();
producerConnection.start();
这篇文章说它使用SSL但没有提及,TLS/SSL它使用的旧版本SSL不再安全。
Amazon MQ代理 - 客户端连接使用哪个 TLS/SSL 版本?我们是否有任何其他方法可以将最新版本的 TLS 与Amazon MQ代理 - 客户端一起使用?