This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

MQTT Secure Websocket - FATAL Unknown CA
#12
(13.09.2019, 09:25)admin Wrote: Client certificates are only needed if you are using it for client authentication which seems like you don't. So you only need to specify server certificate but there must be the whole certificate chain in a single file including root certificate.

If you are using the latest library version then tls_insecure_set(true) should completely ignore server certificates.
You can find latest packages here:
https://dl.openrb.com/pkg/libmosquitto_1.6.3-1_imx6.ipk
https://dl.openrb.com/pkg/luamosquitto_0.3-4_imx6.ipk

Hi,

the packages were up to date and I had tried as you proposed. Now tried it again adding our cert.pem to your snippetĀ but still the connection gets instantly reset after client hello.
Reply


Messages In This Thread
RE: MQTT Secure Websocket - FATAL Unknown CA - by ThomasB - 13.09.2019, 15:02

Forum Jump: