Show / Hide Table of Contents
Edit on GitHub

Rest PKI Core - Command-line tool

On-premises instances of Rest PKI Core provide a command-line tool that can be used to perform certain administrative tasks.

Running a command

Open a terminal and navigate into the installation directory, which depends on the installation plataform (the actual directory could be different if you chose a custom directory during the setup):

  • Windows Server: cd C:\inetpub\RestPkiCore
  • Linux: cd /usr/share/restpkicore

Then, run:

dotnet Lacuna.RestPki.Site.dll [settings] -- command [command-options]

Or, on Docker, simply run the following on any directory:

docker run -i lacunasoftware/restpkicore:2.5 [settings] -- command [command-options]

The settings arguments are additional settings to overwrite settings from configuration files and environment variables, for instance --Section1:Name1=value1 --Section2:Name2=value2.

The command-options arguments depend on each command, see the command's specific documentation.

Available commands:

  • gen-enc-key
  • hash-root-pass
  • update-db
  • test-email

See also

  • Rest PKI Core on-premises
Back to top Copyright © 2015-2020 Lacuna Software