eclipse-sdv-blueprints / fleet-management

A close to real-life showcase for truck fleet management where trucks run an SDV software stack so that logistics fleet operators can manage apps, data and services for a diverse set of vehicles.
Apache License 2.0
16 stars 10 forks source link

Add support for disabling verification of server certificates #24

Closed sophokles73 closed 10 months ago

sophokles73 commented 10 months ago

The FMS Forwarder and FMS Consumer currently support specifying a CA path containing the trusted root CA certificates required for validating the server certificates used by Hono's MQTT Adapter and Kafka broker.

When using a local Hono installation with the Hono demo certificates, it will not be sufficient to just specify the CA path, though. The clients will also need to be configured to not match the hostname to the server certificate's CN/SANs.

Thus it would be helpful to add support for disabling hostname validation or even to disable validation of server certs altogether in this case.