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:
- the mailing list
https://libvirt.org/contact.html
- 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 π
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 π₯
virsh(1)virt-pki-validate(1)- the online PKI setup instructions π
https://libvirt.org/β the mothership π
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
- centos-stream 10: libvirt-client 12.8.0-1.el10 Β· GPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND OFL-1.1
- ubuntu noble: libvirt-clients 10.0.0-2ubuntu8
- ubuntu noble: libvirt-clients 10.0.0-2ubuntu8.19
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms