shlogg · Early preview
Carrie @carrie_luo1

Replacing Self-Signed Certificates On SafeLine Management Platform

Replace self-signed cert with a trusted one: mv server.crt server.crt-2023-08-11, replace with new cert and key, restart SafeLin service.

Look at the final result first


  
  
  Some Idle Talk

The SafeLine Management Platform uses a self-signed certificate by default, which requires an extra click every time you visit, making it a bit inconvenient. So I checked the official documentation but found no relevant information, so I start exploring on my own.

  
  
  Preparations

Prepare a trusted certificate and private key file in advance.

  
  
  Steps


Connect to the server and locate the /data/safeline/resources/management/certs directory. Back up the default certificates:
mv server.crt server.crt-2023-08-11
mv server.key s...