When using my self-signed certificates to connect to my broker, I noticed that the -skip-tls-verification flag was being overridden by the certificates initialization. Relocating the setSkipTLS after the certificates initialization fixes the problem.
When using my self-signed certificates to connect to my broker, I noticed that the -skip-tls-verification flag was being overridden by the certificates initialization. Relocating the setSkipTLS after the certificates initialization fixes the problem.