diff options
author | DmitriyEshenko <dmitriy.eshenko@vyos.io> | 2021-11-24 17:21:36 +0000 |
---|---|---|
committer | DmitriyEshenko <dmitriy.eshenko@vyos.io> | 2021-11-24 17:21:36 +0000 |
commit | 3c240b613a66affb1f3c2293d2b8ad52ab5f6460 (patch) | |
tree | bc800b98fa9aeacf363ecd84bb53a1d12eb2c6b0 /interface-definitions | |
parent | 771301fea060467945e6c55379dd8e761aa9ad9d (diff) | |
download | vyos-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.i | 2 | ||||
-rw-r--r-- | interface-definitions/include/certificate-key.xml.i | 2 | ||||
-rw-r--r-- | interface-definitions/include/certificate.xml.i | 2 |
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> |