Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mosquitto » Error: Problem setting TLS options: File not found(Cannot use TLS)
Error: Problem setting TLS options: File not found [message #1852596] Thu, 26 May 2022 09:35
M L is currently offline M LFriend
Messages: 1
Registered: May 2022
Junior Member
I tried to install a TLS certificate for my MQTT architecture with mosquitto but when I try to publish a message such as mosquitto_pub --cafile ca.crt -h localhost -t hello -m world, the following error appears:

Error: Problem setting TLS options: File not found.

I have also tried to use this tls connection in python with paho library using the command client.tls_set("c:/etc/mosquitto/ca_certificates/ca.crt") but the following error appears:

context.load_verify_locations(ca_certs) FileNotFoundError: [Errno 2] No such file or directory

Do you have any idea of where is my error?
Previous Topic:TLS authentication for mosquitto_sub
Next Topic:How to use mosquitto with MS Visual Studio
Goto Forum:
  


Current Time: Thu May 02 21:57:03 GMT 2024

Powered by FUDForum. Page generated in 0.02461 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top