Hi all, I don't know if this is a bug or there is a specific reason to be implemented in that way. So:
Goal: Start 2 embedded MQTT brokers for integration tests purposes. Both brokers have different SSLContexts with different keystores with different certificates. Expected Result: Both brokers use different certificates. Actual Result: Both brokers use the same certificate, because both use the SSLContext of the second broker (the most recently set up and started broker). Version: 5.14.3 The actual problem (not sure if this is the only one): The anonymous class created in MQTTNIOSSLTransportFactory::createTcpTransportServer(...) uses MQTTNIOSSLTransportFactory::context, which is incorrect IMO. The right context is NIOSSLTransportServer::context, but it is never used, because it is private. Any workarounds for this? Thanks!