summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-06-14 12:36:43 +0200
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-06-14 20:54:21 +0000
commit833b33403f172f95b2384d92d60307049c1750ae (patch)
treeb8fd1dd08661ab27ae2e35ce1fc1b82f91b5b87b /op-mode-definitions
parent95b62fbc35b3da0cb7e7fea0b02b3d16fa0368b3 (diff)
downloadvyos-1x-833b33403f172f95b2384d92d60307049c1750ae.tar.gz
vyos-1x-833b33403f172f95b2384d92d60307049c1750ae.zip
op-mode: T6480: must call pki.py helper as root to work with ACME certificates
This is an addition to commit 65fba1cd2 ("op-mode: T6377: must call pki.py helper as root to work with ACME certificates") which missed out the basic "show pki" command, as the <command> XML node was deep down in the view. (cherry picked from commit 9456113a202f98a777d44c756f7f51c95b1df027)
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/pki.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/pki.xml.in b/op-mode-definitions/pki.xml.in
index f76b4f4e1..254ef08cc 100644
--- a/op-mode-definitions/pki.xml.in
+++ b/op-mode-definitions/pki.xml.in
@@ -490,6 +490,7 @@
<properties>
<help>Show PKI x509 certificates</help>
</properties>
+ <command>sudo ${vyos_op_scripts_dir}/pki.py --action show</command>
<children>
<leafNode name="ca">
<properties>
@@ -570,7 +571,6 @@
</children>
</tagNode>
</children>
- <command>${vyos_op_scripts_dir}/pki.py --action show</command>
</node>
</children>
</node>