virt-pki-query-dn - Man Page

extract Distinguished Name from a PEM certificate


virt-pki-query-dn [OPTION]... FILE


Extract Distinguished Name from a PEM certificate.

The output is meant to be used in the tls_allowed_dn_list configuration option in the libvirtd.conf file.


-h,  --help
Display command line help usage then exit.
-V,  --version
Display version information then exit.

Exit Status

The exit status will be zero on success, non-zero on failure.


Martin Kletzander


Please report all bugs you discover.  This should be done via either:

  1. the mailing list

  2. the bug tracker

Alternatively, you may report bugs to your software distributor / vendor.


virt-pki-query-dn is distributed under the terms of the GNU GPL v2+. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See Also

virsh(1), virt-pki-validate(1), online PKI setup instructions,


Virtualization Support