Watchdoc Tools - Sign a certificate with WCM
Access WCM
-
Launch the Windows console as administrator;
-
run the cd command and specify the path to WCM (C:\Program Files\Doxense\Watchdoc by default);
cd C:\Program Files\Doxense\Watchdoc -
launch the wcm.exe tool.
Export the available certificate
-
In WCM, enter the path to the configuration file:
-
for Watchdoc:
/config=..\Watchdoc\Data\config.xml -
for Watchdoc Supervision Console (WSC):
/config=..\Supervision\Data\wts_config.xml
-
enter the command to export the available certificate including the private key:
-
to export toward C:\Program Files\Doxense\Watchdoc\http-server.cer:
export --key -
to choose an other specific export space:
export --key http-server C:\temp\certsigningtest\wcmexport.cer
Generate a CSR file
To generate a (Certificat Signing Request) file, enter the csr command to generate a CSR file corresponding to the certificat selected in base 64.
Produce the signed certificat
-
In a web browser, enter the adress to access the domain controller (example: http://adresseDC/certsrv);
-
in the section Select a task, click on Request a certificate:
-
in the Request a Certificate interface, click on Advanced certificate request:
-
in the Submit a Certificate Request or Renewal Request interface, past the CSR in base 64 in the field Saved Request:
-
in the Certificate Template section, in the dropdown list, select Web Server;
-
click on Submit;
-
in the Certificate Issued interface, check the radio-button Base64 encoded;
-
then click on Download certificate:
-
Save the signed certificate (.cer extension).
Complete the certificate request
To complete the certificate:
-
stop the Watchdoc or WSC® service;
-
activate WCM;
-
in WCM, enter the following command:complete http-server <path to your certificate>
-
Confirm with the command y;
-
Save with the command save;
-
Restart the Watchdoc or WSC® service.