summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-09-12 20:23:45 +0200
committerChristian Poessinger <christian@poessinger.com>2021-09-12 20:24:14 +0200
commitf86b7314d025fd0cf11c2d91638ed3cc7c4fa507 (patch)
tree22760a921b746f0e55779fb7cbbafabe322aacb5 /op-mode-definitions
parent42f675bb1c160fa6b1115e2b3f26afbdfa26e734 (diff)
downloadvyos-1x-f86b7314d025fd0cf11c2d91638ed3cc7c4fa507.tar.gz
vyos-1x-f86b7314d025fd0cf11c2d91638ed3cc7c4fa507.zip
pki: T3642: listing all CRLs show be doen using a leafNode
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/pki.xml.in17
1 files changed, 3 insertions, 14 deletions
diff --git a/op-mode-definitions/pki.xml.in b/op-mode-definitions/pki.xml.in
index 9aaf2a571..a1c55dcf4 100644
--- a/op-mode-definitions/pki.xml.in
+++ b/op-mode-definitions/pki.xml.in
@@ -386,23 +386,12 @@
</properties>
<command>sudo ${vyos_op_scripts_dir}/pki.py --action show --certificate "$4"</command>
</tagNode>
- <node name="crl">
+ <leafNode name="crl">
<properties>
- <help>Show certificate revocation lists</help>
+ <help>Show x509 certificate revocation lists</help>
</properties>
- <children>
- <leafNode name="name">
- <properties>
- <help>Show certificate revocation lists from specified CA</help>
- <completionHelp>
- <path>pki ca</path>
- </completionHelp>
- </properties>
- <command>sudo ${vyos_op_scripts_dir}/pki.py --action show --crl "$5"</command>
- </leafNode>
- </children>
<command>sudo ${vyos_op_scripts_dir}/pki.py --action show --crl "all"</command>
- </node>
+ </leafNode>
</children>
<command>sudo ${vyos_op_scripts_dir}/pki.py --action show</command>
</node>