astarte-platform / astarte_vmq_plugin

Astarte VerneMQ plugin publishes incoming messages on an AMQP exchange with some additional metadata, so they can be processed by other components.
http://astarte-platform.org/
Apache License 2.0
16 stars 10 forks source link

Configuration script runs despite `CFSSL_URL` being not set when SSL listener is enabled #51

Closed Annopaolo closed 1 year ago

Annopaolo commented 3 years ago

Using VerneMQ with SSL listener enabled, in the script used to write /opt/vernemq/etc/vernemq.conf, the following line should stop and exit when the environment variable CFSSL_URL is not set.
https://github.com/astarte-platform/astarte_vmq_plugin/blob/d34d65a8c0803a4bd1877cd2181133f71b9ca0e1/docker/bin/vernemq.sh#L104 However, it doesn't. This allows for a broken SSL listener setup where CFSSL's CA is missing.

Annopaolo commented 1 year ago

Closed by #61.