Things Configuration for Things QR Enrollments (CamLock and camLock Sentry)
Prerequisite
The system admins should purchase FCM keys.
Place the FCM credential file with the .json extension in the /appdata/pluto/Things directory for Things QR enrollments, click here to learn how to download .json file.
noteFCM V1 should be enabled for FCM project.
Once deployment is done, please navigate to k8sopinstaller \ appsettings \ suremdm and run the below command to open the suremdm appsettings file:
sudo nano appsettings.json
- In the suremdm appsettings file, find MQTTProjectIdFCM and ServerFcmKeyMQTT under the InsightsMQTT tag, provide the values, and save.
- Find FCMCredentialsFilePathMQTT under the FCM tag and provide the private key filename with extension placed inside /appdata/pluto/Things directory, and then save
- Delete suremdm secret by running the below command:
sudo kubectl delete secret suremdm-secret -n suremdm
Recreate the suremdm secret by running the below command:
sudo kubectl create secret generic suremdm-secret --from-file="${PWD}/appsettings/suremdm/appsettings.json" -n suremdmnoteThe system admins should execute these commands from the k8sopinstaller directory.
Once changes are done, run below mentioned command to restart the services:
kubectl rollout restart deployment -n suremdm