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.

  • If false: The Tool will attempt to connect using SSL and if a connection cannot be made, it will attempt a non-SSL connection. The Tool will not validate certificates when communicating via SSL.

  • If true: The Tool will only attempt to connect using SSL. To connect to a device, it must already have been configured with a certificate for SSL communications.

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:

cat certnew.cer | CertMgmtCmd.exe --action installcert

rt --address 10.85.22.93 --deviceuser admin --certnumber 4

 

 

 

--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