Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mosquitto-dev] Q: multiple listeners using TLS (but different authentication policy)?

Hello,

 

is it possible to setup multiple TLS enabled mosquitto listeners (with different authentication handling) ?

 

Background is:

                - I already use a TLS enabled listener on port 8883 where I enforce client certificate usage with

                                require_certificate true

                - I want to connect from other clients that should also use TLS but don't have a client certificate, so they are supposed to use username/password for authentication

 

I tried this with:

                TLS on 8883 and a non TLS listener on 1883 => seems to work.

 

Question: Can the setup I intend to have also work with e.g.

                TLS and client certificates enforced on 8883

                TLS and username/password authentication on e.g. 8983

=> Didn't work for me in a first test.

 

Also, is there maybe a suggested other way to do what I want?

 

best regards

  Ralf


Back to the top