3
1. LoRaServer instance and Gateway
configuration
Refer to the following link for instructions on how to download and install LoRaServer:
https://www.loraserver.io/
Add your Gateway (with its corresponding EUI) to LoRaServer.
2. Configure the Mosquitto TLS
2.1 Generated the Certificate
We recommend you use the script from the link below to generate the Certification
and Key pair:
generate_CA.sh
In the command line window, execute the following commands:
Switch to the
root user
Switch to the user’s
root directory
Download the
generate_CA.zip
file from the link
Unzip the
generate_CA.zip file
Grant executable rights for
Generate_CA.sh
su root
cd ~
wget
http://docs.rakwireless.com/en/LoRa/Indoor-Gateway-RAK7258/Firmware/generate_CA.zip
unzip generate_CA.zip
chmod +x generate_CA.sh
Step 1. Generate the CA Certificate and the Certificate for the Mosquitto Server
./generate_CA.sh server
Step 2. Generate the TLS Certificate and Key for the LoRa Network Server (NS)
./generate_CA.sh client loraserver