Skip to content

Getting encrypted data using openssl certificate from MQTT client to MQTT server #1

@archunan007

Description

@archunan007

Hi All,
I have created and configured MQTT server and enabled web sockets as mentioned in this page.
Its successfully running and able to get the data from mqtt server.
But issue is, I have created some SSL certificate and used in my conf file(mosquitto.conf). but its throwing unknown error.
Please find some screenshot.
image
image
Can you please anyone let me know how to use openssl certificate to send data through encrypted way.

FYI
i refered a link (https://mcuoneclipse.com/2017/04/14/enable-secure-communication-with-tls-and-the-mosquitto-broker/). its works fine if the MQTT server is downloaded from the eclipse i.e., setup file(mosquitto_cygen).
But its wont work in this library.

please respond me ASAP.
Many thanks,
Archunan K.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions