Managing MS agents
Update an MS agent
-
Log in to SCM.
-
From the left-hand menu, select About.
-
Click the Download MS Agent icon and select Windows.
-
(Optional) If required, move the
Sectigo_MS_Agent.exe
file to the install location of the existing MS agent. -
Right-click
Sectigo_MS_Agent.exe
and click Install.The package automatically recognizes that there’s an existing version of the MS agent and initiates an update instead of a new install.
-
In SCM, navigate to the Private Key Agent page and verify that the agent is connected and showing the correct version.
-
Read the EULA, select I agree to the license terms and conditions, and click Install.
-
Click Next.
-
Read the EULA, select I accept the terms in the License Agreement, and click Next.
-
(Optional) Specify an installation location.
-
Click Next, Install, and Close.
-
In SCM, navigate to the MS Agents page and verify that the agent is connected and showing the correct version.
Uninstall an MS agent
-
Navigate to
. -
Search for Sectigo.
-
Select the Sectigo MS Agent and click Uninstall.
-
(Optional) Delete the files and logs associated with the MS agent.
-
Navigate to
C:\ProgramData\Sectigo
. -
Delete the
MS Agent
folder.This cannot be undone. Only delete this folder if you want to completely remove all files and logs related to the MS agent.
-
-
In SCM, navigate to
. -
Select the agent you want to delete.
-
Click the Delete icon.
-
Click Delete again.
MS agent service commands
When an MS agent is installed with Proxy MS Enrollment Protocols to SCM selected, the service commands are as follows:
Command | Description |
---|---|
Start |
Start an MS agent:
|
Stop |
Stop an MS agent:
|
Query |
Query the status of an MS agent:
|
When an MS agent is installed for discovery only (without Proxy MS Enrollment Protocols to SCM selected), the service commands are as follows:
Command | Description |
---|---|
Start |
Start an MS agent:
|
Stop |
Stop an MS agent:
|
Query |
Query the status of an MS agent:
|
Configure LDAPS communication with MS AD
Enable LDAPS communication between the MS Agent and MS AD as follows:
-
Obtain an SSL certificate.
The SSL certificate must comply with the requirements outlined by Microsoft for an LDAPS certificate. These requirements are subject to change by Microsoft at any time without notice.
To view the current requirements, see Enable LDAP over SSL with a third-party certification authority. -
Run
regedit
. -
Navigate to
. -
Create a value of the type
REG_DWORD = UseLDAPS
. -
Specify a Data value of
0
if using LDAP, or1
if using LDAPS.Since LDAPS communication imposes additional requirements, LDAP is the default communication protocol.
-
Restart the agent using the
certsrv.mcs
snap-in.