Discussions

Ask a Question
Back to All

Request: Add Root Certificate automatically when install the ctrld service in Windows

I use the powershell script to install the Windows service. It would be nice if this setuip also downloaded and installed the root certificate at the same time. The command to add should be fairly simple. This is the command I use.

powershell -Command Invoke-WebRequest -Uri 'https://deploy.controld.com/blockpage/Control-D-root-x1.cer' -OutFile 'C:\ControlD\Control-D-root-x1.cer'; Import-Certificate -FilePath "C:\ControlD\Control-D-root-x1.cer" -CertStoreLocation Cert:\LocalMachine\Root