Closed wols closed 1 year ago
I will add it. The error in mosquitto.log
is because the client does not send a correct command.
Hi, I committed a first implementation. Can you please test it? I do not have a working testing environment with TLS...
Great job!
check_ssl_cert -H MQTT.MYDOMAIN -P mqtts [-p 8883]
SSL_CERT OK - MQTT.MYDOMAIN:8883, mqtts, x509 certificate 'MQTT.MYDOMAIN' from 'Let's Encrypt' valid until Feb 20 13:52:52 2024 GMT (exp
ires in 89 days)|days_chain_elem1=89;20;15;; days_chain_elem2=662;20;15;; days_chain_elem3=312;20;15;;
And the expected log entry:
1700739578: New connection from 192.168.x.y:41973 on port 8883.
1700739579: Client <unknown> disconnected, not authorised.
Thanks for the feedback!
Is your feature request related to a problem? Please describe.
I use a Mosquitto MQTTS broker configuration (described here: MQTTS : How to use MQTT with TLS?). It would be nice to be able to check the certificate with this plugin now.
Describe the solution you'd like
The
-P|--protocol
argument should support a new value, preferablymqtts
.Describe alternatives you've considered
A first test with
--protocol https
is possible......but,
mosquitto.log
shows the error:Additional context