certreq(1M)

NAME
certreq - request a certificate from a keyserver or other host

SYNOPSYS
certreq [-d] [-n NSID] -h server keyid

DESCRIPTION
Retrieves a certificate from a keyserver or other host. The keyid and keyserver must be specified.

OPTIONS

-h  server
    Specifies the keyserver.

keyid
    The Master Key ID specified in hex.

-d  Requests that the received certificate be decoded prior to output. Without the -d option, the raw certificate, suitable for saving into a file, is written to standard out.

-n NSID
    By default NSID 1 is used for retrieves. Any NSID number may be specified with the -n option.

EXAMPLES

The example below retrieves the keyid for NSID 1 (default) from keyserver skip.incog.com.

    example% certreq -h skip.incog.com c7beb122

This example retrieves the keyid for NSID 8 from the keyserver skip.incog.com:

    example% certreq -d -n 8 -h skip.incog.com
        c7beb1d2c7beb1d2c7beb1d2c7beb1d2

NOTES
This is a debugging tool and not really meant for general use. The interface is cryptic. There is no way to specify a hostname or ip address instead of the key ID even if the keyid is identical to the ip address.