title: Eclipse Paho MQTT client in Java using TLS
body: <p>I need to create an MQTT client in Java usign the <a href="https://www.eclipse.org/paho/index.php?page=clients/java/index.php#:%7E:text=%20Eclipse%20Paho%20Java%20Client%20%201%20Features.,sample%20that%20connects%20to%20%20a...%20More%20" rel="nofollow noreferrer">Eclipse Paho</a>.</p>
  <p>My MQTT Broker stands behind an Nginx TCP reverse proxy, which has TLS enabled. Therefore, I need to configure the client to use TLS.</p>
  <p>Nevertheless, I don't want to provide my client with a certificate (I don't think I really need to, since I can connect with a NodeRED MQTT client with TLS enabled and this client is not provided any certificate; the same - I am told - with a .NET Core client).</p>
  <p>Is it possible to do this with Eclipse Paho library?
  All the examples I can find make use of a certificate.</p>