Skip to content

NodeJs TLS self-signed certificates #428

@paloky

Description

@paloky

Hi.
I have used this library in a NodeJS application, and it has worked perfectly for me, but now I am trying to connect to the same broker using TLS.
I get the error: “self-signed certificate.”

Currently, with the RED-DA regulations, it is mandatory to use MQTTS for all communications.

I try to use "rejectUnauthorized: false" same in normal mqtt, but It doesnt's work.
What parameter do I need to add in the “config” to disable this verification?

Thank's a lot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions