Ardurno PubsubClient Mqtt ESP8266 connection issue on Hive MQ

I have a HiveMq mqtt broker credential to connect MQTT broker using PubsubClient from Ardurno .. I tried to connect its throwing an error -4 time out.

Hivemq broker url - Username : xxxx Password : xxxx Port - 8883 No Certificate Code - client.connect("client_id",mqtt_username,mqtt_password))

I tried in MQTT explorer its connected because i enabled the Tls option.Attached the screen for your reference. Could some one share the code to enable the Tls on PubsubClient.(Sample code). Note that no certificate. only encription.(Hive does not give certificate)

[Mqtt Explorer][1] [1]:

Thanks Murugan

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum