5
Note: Only the relevant section of the file are shown and the lines to be edited are in
red
. The rest of the file has been omitted in order to keep posterity. Please only edit
the lines in
red
and leave the rest of the file as it is!
………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
server="ssl://127.0.0.1:8883"
# Connect with the given username (optional)
username=""
# Connect with the given password (optional)
password=""
………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………
# CA certificate file (optional)
#
# Use this when setting up a secure connection (when server uses ssl://...)
# but the certificate used by the server is not trusted by any CA certificate
# on the server (e.g. when self generated).
ca_cert="/etc/loraserver/ca.crt"
# TLS certificate file (optional)
tls_cert="/etc/loraserver/loraserver.crt"
………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………
Step 3. Restart the loraserver service
systemctl restart loraserver
2.4 Configure the LoRaWAN Gateway
Step 1. Configure the LoRa Packet Forwarder Protocol to LoRa Gateway MQTT
Bridge in the LoRa Gateway Tab in the Gateway Web UI: