brot_owntracks_mqtt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
brot_owntracks_mqtt [2019/01/28 13:19]
brot [mosquitto MQTT brocker im Docker-Container]
brot_owntracks_mqtt [2019/01/28 13:48] (current)
brot [Eigene CA]
Line 17: Line 17:
   - ./easyrsa build-ca   - ./easyrsa build-ca
   - ./easyrsa build-server-full brot-mqtt nopass   - ./easyrsa build-server-full brot-mqtt nopass
-  - ./easyrsa build-client-full brot-owntracks nopass+  - ./easyrsa build-client-full brot-owntracks 
 +    - passwort ist bei owntracks pflicht
   - cp pki/issued/brot-mqtt.crt pki/private/brot-mqtt.key pki/ca.crt ~/docker-mosquitto/   - cp pki/issued/brot-mqtt.crt pki/private/brot-mqtt.key pki/ca.crt ~/docker-mosquitto/
 +  - openssl pkcs12 -export -in pki/issued/brot-owntracks.crt -inkey pki/private/brot-owntracks.key -name "brot owntracks TLS Client Cert" -out brot-owntracks.p12
 +
  
 ==== mosquitto MQTT brocker im Docker-Container ==== ==== mosquitto MQTT brocker im Docker-Container ====
Line 24: Line 27:
   - nano ~/docker-mosquitto/mosquitto.conf   - nano ~/docker-mosquitto/mosquitto.conf
   - mkdir ~/docker-mosquitto/data ~/docker-mosquitto/log   - mkdir ~/docker-mosquitto/data ~/docker-mosquitto/log
-  - docker run -d -p 53883:8883 -v /home/brot/docker-mosquitto/mosquitto.conf:/mosquitto/config/mosquitto.conf -v /home/brot/docker-mosquitto/data/:/mosquitto/data/ -v /home/brot/docker-mosquitto/log/:/mosquitto/log/ -v /home/brot/docker-mosquitto/ca.crt:/mosquitto/ca.crt -v /home/brot/docker-mosquitto/brot-mqtt.crt:/mosquitto/brot-mqtt.crt -v /home/brot/docker-mosquitto/brot-mqtt.key:/mosquitto/brot-mqtt.key eclipse-mosquitto+  - docker run -d -p 53883:8883 -name brot-mqtt -v /home/brot/docker-mosquitto/mosquitto.conf:/mosquitto/config/mosquitto.conf -v /home/brot/docker-mosquitto/data/:/mosquitto/data/ -v /home/brot/docker-mosquitto/log/:/mosquitto/log/ -v /home/brot/docker-mosquitto/ca.crt:/mosquitto/ca.crt -v /home/brot/docker-mosquitto/brot-mqtt.crt:/mosquitto/brot-mqtt.crt -v /home/brot/docker-mosquitto/brot-mqtt.key:/mosquitto/brot-mqtt.key eclipse-mosquitto
  
 <file mosquitto.conf> <file mosquitto.conf>
  • brot_owntracks_mqtt.1548681552.txt.gz
  • Last modified: 2019/01/28 13:19
  • by brot