diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2019-07-08 15:27:40 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2019-07-08 15:27:40 +0300 |
commit | 16146aabc0023a10e3f83c8d27860323080297c3 (patch) | |
tree | 80a63791d3a652e99e9c6913743cbf45af40e57f /include/profiles | |
parent | 9364baa4fa9d9c1f7a183a9b353c7552b3e3568e (diff) |
Added option: ssl-certificate-paths-to-ignore
Diffstat (limited to 'include/profiles')
-rw-r--r-- | include/profiles | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/profiles b/include/profiles index 101a8a77..42562c80 100644 --- a/include/profiles +++ b/include/profiles @@ -362,6 +362,13 @@ AddSetting "ssl-certificate-paths" "${SSL_CERTIFICATE_PATHS}" "Paths for SSL certificates" ;; + ssl-certificate-paths-to-ignore) + # Retrieve paths to ignore when searching for certificates. Strip special characters, replace possible spaces + SSL_CERTIFICATE_PATHS_TO_IGNORE=$(echo ${VALUE} | tr -d '[:cntrl:]' | sed 's/ /:space:/g') + Debug "SSL paths to ignore: ${SSL_CERTIFICATE_PATHS_TO_IGNORE}" + AddSetting "ssl-certificate-paths-to-ignore" "${SSL_CERTIFICATE_PATHS_TO_IGNORE}" "Paths that should be ignored for SSL certificates" + ;; + # Set strict mode for development and quality purposes strict) FIND=$(echo "${VALUE}" | egrep "^(1|true|yes)") && SET_STRICT=1 |