Step 1 success! I’m able to connect an MQTT client to my 8883 listener with the Certbot certificates!
This listener config line was wrong:
listener 1883 localhost
adding the host at the end binds all traffic on the port to have to come from that host only… which obviously is not what I want. The line needs to be:
listener 1883
Now on to OwnTracks, then openHAB, then ACLs.
Mike
P.S. Did you hear me scream in elation?
P.P.S. Symlinks worked.
I think that it does not really matter what the extension is. It is the content that matters. You can put whatever extension you like so crt should be ok
However, my mqtt binding in openhab cannot. I get this error in openhab console:
15:23:48.293 [ERROR] [openhab.io.transport.mqtt.MqttService] - Error starting broker connection
org.eclipse.paho.client.mqttv3.MqttException: Unable to connect to server
at org.eclipse.paho.client.mqttv3.internal.TCPNetworkModule.start(TCPNetworkModule.java:79) [202:org.openhab.io.transport.mqtt:1.12.0]
at org.eclipse.paho.client.mqttv3.internal.ClientComms$ConnectBG.run(ClientComms.java:650) [202:org.openhab.io.transport.mqtt:1.12.0]
at java.lang.Thread.run(Thread.java:745) [?:?]
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method) ~[?:?]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:?]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:?]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:?]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:?]
at java.net.Socket.connect(Socket.java:589) ~[?:?]
at org.eclipse.paho.client.mqttv3.internal.TCPNetworkModule.start(TCPNetworkModule.java:70) ~[?:?]
... 2 more
It is a very long time I have done this
I have since done a full re-install of OH on a new ubuntu OS and the SSL worked out of the box
Which version of openHAB are you running?
Read also the other posts under the original post. Some users had some work arounds and other ideas