openssl icon indicating copy to clipboard operation
openssl copied to clipboard

OpenSSL Error

Open Milav-teq opened this issue 7 years ago • 2 comments

Hello Guys,

This is Milav Soni.

I download opessl-master from this link.

and i am able to cross-compilation openssl. after this i am attach openssl include path and library path to Mosquitto library.

But when i run mosuitto_pub command on my custom board than it gives following error.

"OpenSSL Error: error:14000086:SSL routines::certificate verify failed Error : A TLS error occurred."

please help me to sort out this error.

Milav-teq avatar Sep 27 '19 11:09 Milav-teq

Hi @Milav-teq

Please try with below option

--proxy Specify a SOCKS5 proxy to connect through. "None" and "username" authentication types are supported. The socks-url must be of the form socks5h://[username[:password]@]host[:port]. The protocol prefix socks5h means that hostnames are resolved by the proxy. The symbols %25, %3A and %40 are URL decoded into %, : and @ respectively, if present in the username or password.

Example : jram@edison:~# mosquitto_sub --cafile rootCA.pem --cert tomato.cert.pem --key tomato.private.key -h (Imnotgiving myend point).iot.us-east-1.amazonaws.com -p 8883 -q 1 -d -t topic/test -i clientid2

If it's works fine then Please close this issue.

Thanks Jayaram Matta

jayaram-intel avatar Oct 11 '19 04:10 jayaram-intel

Hello Jayaram Matta,

It is worked.

thank you for your response.

Milav-teq avatar Oct 11 '19 04:10 Milav-teq