OS Manuals

/usr/bin/dirmngr-client

GNU Privacy Guard 2 - network certificate management service

From gnupg-dirmngr 2.4.9-r12 (os), captured 2026-11-05 by running dirmngr-client --help (exit 0). permalink

Also provided by 1 other package version
dirmngr-client (GnuPG) 2.4.9
Copyright (C) 2025 g10 Code GmbH
License GNU GPL-3.0-or-later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Syntax: dirmngr-client [options] [certfile|pattern]
Test an X.509 certificate against a CRL or do an OCSP check
The process returns 0 if the certificate is valid, 1 if it is
not valid and other error codes for general failures

Options:
 -v, --verbose                   verbose
 -q, --quiet                     be somewhat more quiet
     --ocsp                      use OCSP instead of CRLs
     --ping                      check whether a dirmngr is running
     --cache-cert                add a certificate to the cache
     --validate                  validate a certificate
     --lookup                    lookup a certificate
 -l, --local                     lookup only locally stored certificates
 -u, --url                       expect an URL for --lookup
     --load-crl                  load a CRL into the dirmngr
     --squid-mode                special mode for use by Squid
     --pem                       expect certificates in PEM format
     --force-default-responder   force the use of the default OCSP responder

Please report bugs to <https://bugs.gnupg.org>.
Options (15)
OptionDescriptionSource
-v, --verboseOutputs additional information while running.help + man + man
-q, --quietMake the output extra brief by suppressing any informational messages.help + man
--ocspDo the check using the OCSP protocol and ignore any CRLs.help + man
--pingCheck whether the dirmngr daemon is up and running.help + man
--cache-certPut the given certificate into the cache of a running dirmngr.help + man
--validateValidate the given certificate using dirmngr's internal validation code.help + man
--lookupTake the remaining arguments and run a lookup command on each of them.help + man
-l, --localLet the lookup command only search the local cache.help + man + man
-u, --urlModify the lookup and load-crl commands to take an URL.help + man + man
--load-crlThis command expects a list of filenames with DER encoded CRL files.help + man
--squid-modeRun dirmngr-client in a mode suitable as a helper program for Squid's external_acl_type option.help + man
--pemAssume that the given certificate is in PEM (armored) format.help + man
--force-default-responderWhen checking using the OCSP protocol, force the use of the default OCSP responder.help + man
--versionPrint the program version and licensing information. (in the manual page but not in --help)man
--help, -hPrint a usage message summarizing the most useful command-line options. (in the manual page but not in --help)man
Exit status (2) from the manual page
0The certificate under question is valid;
1The certificate has been revoked

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.