Skip to content

trust-certificate

Allows you to trust a self-signed certificate or a certificate signed by an unknown authority.

Syntax:

shell
sfiler-cli [options] trust-certificate [command options]
Command optionsRequired / OptionalDescription
-aObligatoireThe alias to be added to the trust list.

This command is used to trust a certificate present in the S-Filer Portal solution's certificate manager, identified by the alias "my-certificate".

shell
./sfiler-config-cli.sh -l my-user -p my-password -cf "conf/sfiler.conf" trust-certificate -a "my-certificate"