I have a raspberry pi 3 with raspbian stretch as its operating system. I have installed and fully configured a MQTT broker on the raspberry pi following this tutorial: https
One of 2 options
Looking at this issue it looks like option 2 is most likely as it implies you have to verify the cert yourself after the connection.