summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorDmitriyEshenko <dmitriy.eshenko@vyos.io>2021-11-24 17:21:36 +0000
committerDmitriyEshenko <dmitriy.eshenko@vyos.io>2021-11-24 17:21:36 +0000
commit3c240b613a66affb1f3c2293d2b8ad52ab5f6460 (patch)
treebc800b98fa9aeacf363ecd84bb53a1d12eb2c6b0 /interface-definitions
parent771301fea060467945e6c55379dd8e761aa9ad9d (diff)
downloadvyos-1x-3c240b613a66affb1f3c2293d2b8ad52ab5f6460.tar.gz
vyos-1x-3c240b613a66affb1f3c2293d2b8ad52ab5f6460.zip
openconnect: T3695: Fix certificate files validation
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/certificate-ca.xml.i2
-rw-r--r--interface-definitions/include/certificate-key.xml.i2
-rw-r--r--interface-definitions/include/certificate.xml.i2
3 files changed, 3 insertions, 3 deletions
diff --git a/interface-definitions/include/certificate-ca.xml.i b/interface-definitions/include/certificate-ca.xml.i
index b97378658..f42e2ebbd 100644
--- a/interface-definitions/include/certificate-ca.xml.i
+++ b/interface-definitions/include/certificate-ca.xml.i
@@ -7,7 +7,7 @@
<description>File in /config/auth directory</description>
</valueHelp>
<constraint>
- <validator name="file-exists" argument="--directory /config/auth"/>
+ <validator name="file-exists" argument="--directory /config/auth --error"/>
</constraint>
</properties>
</leafNode>
diff --git a/interface-definitions/include/certificate-key.xml.i b/interface-definitions/include/certificate-key.xml.i
index 1db9dd069..7d5c2dc03 100644
--- a/interface-definitions/include/certificate-key.xml.i
+++ b/interface-definitions/include/certificate-key.xml.i
@@ -7,7 +7,7 @@
<description>File in /config/auth directory</description>
</valueHelp>
<constraint>
- <validator name="file-exists" argument="--directory /config/auth"/>
+ <validator name="file-exists" argument="--directory /config/auth --error"/>
</constraint>
</properties>
</leafNode>
diff --git a/interface-definitions/include/certificate.xml.i b/interface-definitions/include/certificate.xml.i
index fb5be45cc..3598075a9 100644
--- a/interface-definitions/include/certificate.xml.i
+++ b/interface-definitions/include/certificate.xml.i
@@ -7,7 +7,7 @@
<description>File in /config/auth directory</description>
</valueHelp>
<constraint>
- <validator name="file-exists" argument="--directory /config/auth"/>
+ <validator name="file-exists" argument="--directory /config/auth --error"/>
</constraint>
</properties>
</leafNode>