MQTT : a TLS error occurred

I’m facing an issue publishing data from the board using the command.

When i’m trying the publish data from the ubuntu command prompt using
mosquitto_sub -h -t test -p 8883 --capath /etc/ssl/certs/ -u “mqttadmin” -P “mhdgose”

I’m able to see the message in the Subscriber window, But when I’m trying with the WP7608 module
it is giving an error as A TLS error occurred.
I’m using Mosquitto MQTT on the publisher side.
Any solution for this issue?

Do you shut down the firewall by the following command?
iptables -I INPUT -j ACCEPT

Also does it relate to DNS problem?
You might also use real IP address as following topic: