VIRT-PKI-QUERY-DN(1)

✨ VIRT-PKI-QUERY-DN(1) ✨

okay bestie, so this is virt-pki-query-dn β€” a little tool from the virtualization support squad πŸ–₯οΈπŸ’– and honestly? it's giving tiny-but-mighty main character energy. it does literally one thing and it does it slay.


πŸŽ€ NAME πŸŽ€

virt-pki-query-dn β€” pull the Distinguished Name out of a PEM certificate, no cap πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

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

🌸 DESCRIPTION 🌸

So what does it do?? It extracts the Distinguished Name from a PEM certificate. That's it. That's the whole vibe. ✨

And here's the tea on why you'd even want that: the output is meant to be used in the tls_allowed_dn_list configuration option in the libvirtd.conf file. So you run this, you get your DN, you drop it into that config option, and you're literally done. iykyk 🫢


πŸ’œ OPTIONS πŸ’œ

  • -h, --help β€” shows you the command line help usage, then dips. super simple, we love her πŸ™ˆ
  • -V, --version β€” prints the version info, then peaces out. iconic behavior honestly πŸ‘‘

⭐ EXIT STATUS ⭐

ok so the vibe check on exit codes:

  • it'll be zero when things go right (success, slay πŸ’…)
  • it'll be non-zero when things go wrong (failure, not slay 😭)

that's it, that's the rule.


🌈 AUTHOR 🌈

Martin Kletzander β€” the legend who made this happen 🫢


πŸ’€ BUGS πŸ’€

found a bug?? bestie please report it, we want to know. 😭 you can do it either way:

  1. the mailing list
https://libvirt.org/contact.html
  1. the bug tracker
https://libvirt.org/bugs.html

alternatively, you can also report bugs to your software distributor / vendor β€” like, whoever you got this from. they'll pass it along 🧚


Copyright (C) 2021 Red Hat, Inc.


πŸ“ LICENSE πŸ“

virt-pki-query-dn is distributed under the terms of the GNU GPL v2+. it's free software β€” see the source for copying conditions.

⚠️ okay this part is important, no funny business: there is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. like, zero. nil. hope that's clear bestie πŸ’€

πŸ”₯ SEE ALSO πŸ”₯


mwah πŸ’‹ that's the whole page! this little gem lives in Virtualization Support, brought to you by the VIRT-PKI-QUERY-DN(1) era, and the page itself is dated the same as the footer says β€” so go forth, query those DNs, and stay slay βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from