SCEP Configuration
Prerequisite
- For SCEP configuration, Windows Server is required.note
Please contact to 42gears support team for SCEP server specification.
Step to configure the SCEP, follow the below steps:
- Kindly reach out to the 42gears support team to obtain the SCEP build. Once obtained, place the build on the Windows Server in the directory C:\inetpub\wwwroot and follow these steps.
- Once deployment is done, navigate to k8sopinstaller > appsettings > suremdm > appsettings.json and add ScepApiUrl as http://windows_machine_local_ip/suremdm/scepcert if the deployment is with /suremdm. Otherwise, use http://windows_machine_local_ip/scepcert. Save the changes after making the modifications.
- Navigate to scepcert package hosted inside windows machine, open webconfig file and change the SQL DB connection string accordingly.
Delete the suremdm secrets and create them again by using following commands:
- Delete secrets: sudo kubectl delete secret suremdm-secret -n suremdm
- Create secrets: 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.
After making the changes, run the following command to restart the services:
kubectl rollout restart deployment -n suremdm