delete-certificate
Removes a certificate from the S-Filer Portal solution.
Syntax:
shell
sfiler-cli [options] delete-certificate [command options]
Command options | Required / Optional | Description |
---|---|---|
-a | Required | The alias of the certificate to be deleted. |
Example:
This command deletes a certificate with the alias “my-certificate”.
shell
./sfiler-config-cli.sh -l my-user -p my-password -cf "conf/sfiler.conf" delete-certificate -a "my-certificate"
The result of this command is the deletion of the certificate with the Certificate Manager alias “my-certificate”. The result can be checked using the list-certificates
command.
shell
./sfiler-config-cli.sh -l my-user -p my-password -cf "conf/sfiler.conf" list-certificates
It is not possible to delete a certificate used by a server. To delete a certificate used by a server, you must first ensure that the server is no longer using the certificate.