summaryrefslogtreecommitdiff
path: root/docs/manpages/virt-pki-query-dn.rst
blob: e37629514d333003dce4fca145dacaff1361a006 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
=================
virt-pki-query-dn
=================

-------------------------------------------------
extract Distinguished Name from a PEM certificate
-------------------------------------------------

:Manual section: 1
:Manual group: Virtualization Support

.. contents::


SYNOPSIS
========

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


DESCRIPTION
===========

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.


AUTHOR
======

Martin Kletzander


BUGS
====

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

#. the mailing list

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

#. the bug tracker

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

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


COPYRIGHT
=========

Copyright (C) 2021 Red Hat, Inc.


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.


SEE ALSO
========

virsh(1), virt-pki-validate(1),
`online PKI setup instructions <https://libvirt.org/remote.html>`_,
`https://libvirt.org/ <https://libvirt.org/>`_