from small one page howto to huge articles all in one place
 

search text in:





Poll
Which kernel version do you use?





poll results

Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

109414

userrating:

average rating: 1.7 (85 votes) (1=very good 6=terrible)


May 25th. 2007:
Words

486

Views

223423

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

103696

userrating:

average rating: 1.3 (28 votes) (1=very good 6=terrible)


April, 26th. 2006:

Druckversion
You are here: manpages





DIRMNGR-CLIENT

Section: GNU Privacy Guard 2.1 (1)
Updated: 2017-05-11
Index Return to Main Contents
 

NAME

dirmngr-client - Tool to access the Dirmngr services  

SYNOPSIS

dirmngr-client [options] [certfile|pattern]

 

DESCRIPTION

The dirmngr-client is a simple tool to contact a running dirmngr and test whether a certificate has been revoked --- either by being listed in the corresponding CRL or by running the OCSP protocol. If no dirmngr is running, a new instances will be started but this is in general not a good idea due to the huge performance overhead.

The usual way to run this tool is either:

dirmngr-client acert

or

dirmngr-client <acert

Where acert is one DER encoded (binary) X.509 certificates to be tested.

 

RETURN VALUE

dirmngr-client returns these values:

0
The certificate under question is valid; i.e. there is a valid CRL available and it is not listed there or the OCSP request returned that that certificate is valid.

1
The certificate has been revoked

2 (and other values)
There was a problem checking the revocation state of the certificate. A message to stderr has given more detailed information. Most likely this is due to a missing or expired CRL or due to a network problem.

 

OPTIONS

dirmngr-client may be called with the following options:

--version
Print the program version and licensing information. Note that you cannot abbreviate this command.

--help, -h
Print a usage message summarizing the most useful command-line options. Note that you cannot abbreviate this command.

--quiet, -q
Make the output extra brief by suppressing any informational messages.

-v
--verbose
Outputs additional information while running. You can increase the verbosity by giving several verbose commands to dirmngr, such as aq-vvaq.

--pem
Assume that the given certificate is in PEM (armored) format.

--ocsp
Do the check using the OCSP protocol and ignore any CRLs.

--force-default-responder
When checking using the OCSP protocol, force the use of the default OCSP responder. That is not to use the Reponder as given by the certificate.

--ping
Check whether the dirmngr daemon is up and running.

--cache-cert
Put the given certificate into the cache of a running dirmngr. This is mainly useful for debugging.

--validate
Validate the given certificate using dirmngr's internal validation code. This is mainly useful for debugging.

--load-crl
This command expects a list of filenames with DER encoded CRL files. With the option --url URLs are expected in place of filenames and they are loaded directly from the given location. All CRLs will be validated and then loaded into dirmngr's cache.

--lookup
Take the remaining arguments and run a lookup command on each of them. The results are Base-64 encoded outputs (without header lines). This may be used to retrieve certificates from a server. However the output format is not very well suited if more than one certificate is returned.

--url
-u Modify the lookup and load-crl commands to take an URL.

--local
-l Let the lookup command only search the local cache.

--squid-mode
Run dirmngr-client in a mode suitable as a helper program for Squid's external_acl_type option.

 

SEE ALSO

dirmngr(8), gpgsm(1)

The full documentation for this tool is maintained as a Texinfo manual. If GnuPG and the info program are properly installed at your site, the command

info gnupg

should give you access to the complete manual including a menu structure and an index.


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
OPTIONS
SEE ALSO


Please read "Why adblockers are bad".



Other free services
toURL.org
Shorten long
URLs to short
links like
http://tourl.org/2
tourl.org
.
Reverse DNS lookup
Find out which hostname(s)
resolve to a
given IP or other hostnames for the server
www.reversednslookup.org
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2017 Sascha Nitsch Unternehmensberatung UG(haftungsbeschränkt)
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 27.6 ms