Description
This command is used to register certificates.
Syntax
swss_importcert.exe /file:certificateFileName [/alias:aliasName] |
swss_importcert.exe /file:certificateFileName |
swss_importcert.exe /CACERT |
Option
Specifies the file name of the X.509 certificate.
Specifies the alias name of the CA certificate or intermediate CA certificate using halfwidth alphanumeric characters.
(Refer to the information below for details on how to specify a name.)
This option is specified if using the CA certificate of Systemwalker.
Return value
0: Ended normally
Other than 0: Ended abnormally
Command location
The following folder of SS:
dtpInstallDir\SS\bin |
Privilege required for execution/execution environment
Execute as a user with Administrator privileges.
This command must be executed on SS.
Note
Do not specify the /alias option when registering a server certificate.
In coexistence with the relay server of Systemwalker Desktop Keeper, if a certificate is registered in Systemwalker Desktop Keeper after another certificate is registered in Systemwalker Desktop Patrol, then the certificate registered in Systemwalker Desktop Keeper will be used for HTTPS communication between iOS smart devices and the SS.
Stop the service (SWDTiSDSVWebService) before executing this command.
Example
Example: The certificate is in c:\temp\.
Register the CA certificate and intermediate CA certificate.
C:\Program Files\Fujitsu\Systemwalker Desktop Patrol\SS\bin\swss_importcert.exe /file:c:\temp\ca.cer /alias:DTPCA |
Register the server certificate.
C:\Program Files\Fujitsu\Systemwalker Desktop Patrol\SS\bin\swss_importcert.exe /file:c:\temp\server.cer |
Register the CA certificate of Systemwalker.
C:\Program Files\Fujitsu\Systemwalker Desktop Patrol\SS\bin\swss_importcert.exe /CACERT |
Information
Name to be specified for the /alias option
A name is required when registering a CA certificate or intermediate CA certificate. Change the name when registering more than one certificate.
You cannot use a name that has already been used. If a name is registered in duplicate, an error will occur.
Example:
Register a CA certificate and intermediate CA certificate
CA certificate: DTPCA01
Intermediate CA certificate: DTPCA02