Install a Certificate
Use the following arguments to install a certificate on an MFP.
Argument |
Description |
Possible Values |
---|---|---|
--address |
Address of the MFP (required) |
|
--deviceuser |
The account to use for authenticating into the device (required) |
|
--devicepassword |
The password of the account for authenticating into the device |
|
--onlyssl |
Allow only an SSL connection to the device.
|
true, false (default: false) |
--certvalidation |
Used only when “onlyssl” is set to true. If “certvalidation” is also set to true, a connection to the device will only be established if the SSL certificate can be validated as a trusted certificate. Trusted Root Certificates are managed through the built-in Windows Certificate Management. |
true, false (default: false) |
--certfile |
The location of the certificate file containing the certificate in Base64 PEM encoded format. If not specified, the tool will attempt to read the certificate contents from standard input. Typically, you can redirect standard output from one program to another using | Example:
|
|
--certnumber |
The MFP certificate location (required) |
1-6 |
Sample Output – Success
Starting device session
Locking device
Reading certificate file
Installing certificate
Unlocking device
Ending device session
Sample Output – Success reading certificate from standard input
Starting device session
Locking device
Reading certificate from standard input
Installing certificate
Unlocking device
Ending device session
Sample Output – Unsupported certificate file format
Starting device session
Locking device
Reading certificate file
Installing certificate
Failed to install certificate. Error code: 18, Message: Unsupported certificate format
Unlocking device
Ending device session
Sample Output – No CSR in specified certificate slot
Starting device session
Locking device
Reading certificate file
Installing certificate
Failed to install certificate. Error code: 9, Message: Item not found
Unlocking device
Ending device session