Thanks for your response, actually, this is what I already tried - without luck, prior submitting this thread.
I’ve also tried CLI tools to extract CA certificate from the CRT, which gave me the same result - they output just the CRT itself. So using this cerrtificate did not help.
Connecting to Cerbo using MQTT explorer, with TLS:on, Verify:off and using username/password works perfectly.
This is the bridge config I use in Home Assistant, you can also see the commented options, which I tried in endless combinations. I have also tried the bridge_insecure option, which should enable use of self-signed certificates, but with no luck:
connection victron
address 192.168.1.15:8883
#address 192.168.1.15:1883
remote username victron
remote_password **************
bridge_insecure true
#bridge_cafile /share/mosquitto/certs/venus-ca.crt
#bridge_certfile /share/mosquitto/certs/venus-ca.crt
#bridge_capath /etc/ssl/certs
#bridge_tls_version tlsv1.3
#bridge_protocol_version mqttv311
topic N/# in 0 victron/
#topic R/# out 0 victron/
#topic W/# out 0 victron/
#topic # both 0
Edit: this is what i get as response in mosquitto:
2024-11-02 17:26:18: Connecting bridge victron (192.168.1.15:8883)
2024-11-02 17:26:18: OpenSSL Error[0]: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
2024-11-02 17:26:18: Client local.core-mosquitto.victron disconnected: Protocol error.
I’ve spend many hours with that already, looking through forums, Victron repositories, Home Assistant forums, Mosquitto Add-on docs, and I feel lost. I put all my hope in the long-awaited MQTT/SSL/auth feature of Victron, but when it finally come, can’t make it work
Since you tell me that there is no CA for this SSL (although it is possible to generate self-signed certificate with own self-created-CA), I should maybe direct my questions to Mosquitto/Home Assistant forums, since it seems Venus SSL works at its own (with verify:off for SSL)…