3 Commands
Commands are not distinguished from options execpt for the fact that
only one command is allowed.
--version
- Print the program version and licensing information. Note that you can
abbreviate this command.
--help, -h
- Print a usage message summarizing the most useful command-line options.
Not that you can abbreviate this command.
--server
- Run in server mode and wait for commands on the
stdin
. The
default mode is to create a socket and listen for commands there.
--daemon
- Run in background daemon mode and listen for commands on a socket.
Note that this also changes the default home directory and enables the
internal certificate validation code.
--list-crls
- List the contents of the CRL cache on
stdout
. This is probably
only useful for debugging purposes.
--load-crl
file- This command requires a filename as additional argument, and it will
make dirmngr try to import the CRL in file into it's cache.
Note, that this is only possible if Dirmngr is able to retrieve the
CA's certificate directly by its own means. In general it is better
to use
gpgsm
's --call-dirmngr loadcrl filename
command
so that gpgsm
can help dirmngr.
--fetch-crl
url- This command requires an URL as additional argument, and it will make
dirmngr try to retrieve an import the CRL from that url into
it's cache. This is mainly useful for debugging purposes.
--shutdown
- This commands shuts down an running instance of Dirmngr. This command
has corrently no effect.
--flush
- This command removes all CRLs from Dirmngr's cache. Client requests
will thus trigger reading of fresh CRLs.