List of WCM commands

 

Command Alternative syntaxes Description of the command
QUIT - quit
- q
- exit
Used to close the tool.
LIST   Used to display the list of certificates saved in Watchdoc.
SELECT [ID de certificat]  

Used to select a specific certificate and apply modifications thereto.

Other actions configured in WCM apply to the selected certificate.

SHOW [ID de certificat]  

Used to display the certificate corresponding to the specified ID. If <certificate ID> is not entered, the selected certificate will be taken. (See description of the fields displayed in the following chapter).

CREATE <id de certificat>   Used to create a certificate after having provided additional information.
PEM [id de certificat]   Displays the certificate with the specified ID in PEM (Privacy Enhanced eMail) format. If no <certificate ID> is entered, the selected certificate will be taken. 
CSR [ID certificat]
Option :
[-v|--verbose]
Displays the CSR (Certificate Signing Request) for the certificate corresponding to the specified ID. If no ID is specified, the selected certificate will be taken. The "-v or --verbose" option displays additional information on the CSR generated.
DELETE [ID cert] - del
- remove
Option :
[-y|--force]
Deletes the certificate corresponding to the specified ID or, by default, the selected certificate. This action must be confirmed. The "-you --force" option deactivates the deletion confirmation request.
EXPORT [ID cert] [-d|--der]   Exports the certificate corresponding to the specified ID in PEM format, "text" format or, by default, the selected certificate. The "-d| or--der" option exports the certificate in DER format, i.e. in "binary" format (Distinguished Encoding Rules).
IMPORT [ID cert] Option : [--pem] Imports a certificate in PEM format. If the certificate file extension is not .pem or .cer (PEM format), specify the format by adding the --pem option in the command. Note: although mentioned, the P12 format is not yet supported in WCM.
TEST [URI] [protocol]   Performs a test on the specified URI using the specified protocol (see command details in the next chapter).
SERVER [port|IP:port [id certificat] ] [protocol] Combined with the SELECT command. Starts a web server using the selected certificate thanks to the SELECT command. This command is useful for troubleshooting connection errors to the Watchdoc service (see command details in the next chapter).
SAVE   Used to save the changes made.
RELOAD   Cancel changes that have not been saved yet. Although present in the list, this command is not yet implemented.