carta
virt-pki-query-dn(1)

virt-pki-query-dn1

Extract distinguished name from a pem certificate

Usage

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

Overview

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.

Options

-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.

History

  • Arch Linux 2026-11-01: the text shown here
  • Debian 13 (Trixie)
  • Debian 12 (Bookworm)

Author

Martin Kletzander

Bugs

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

1.

the mailing list

<https://libvirt.org/contact.html>

2.

the bug tracker

<https://libvirt.org/bugs.html>

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

License

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.

From libvirt 1:12.8.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.