summaryrefslogtreecommitdiffstats
path: root/crypto/ca-certificates/FINAL
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/ca-certificates/FINAL')
-rwxr-xr-xcrypto/ca-certificates/FINAL10
1 files changed, 10 insertions, 0 deletions
diff --git a/crypto/ca-certificates/FINAL b/crypto/ca-certificates/FINAL
new file mode 100755
index 0000000000..8f52eb5d5d
--- /dev/null
+++ b/crypto/ca-certificates/FINAL
@@ -0,0 +1,10 @@
+local BAD_CERTS=n
+for C in $(find -L $INSTALL_ROOT/etc/ssl/certs/ -type l) ; do
+ message "${PROBLEM_COLOR}Broken symlink for a certificate at $C${DEFAULT_COLOR}"
+ BAD_CERTS=y
+done &&
+
+if [[ "$BAD_CERTS" == "y" ]]; then
+ message "${PROBLEM_COLOR}You MUST remove the above broken symlinks" &&
+ message "Otherwise SSL validation that use the directory may fail!${DEFAULT_COLOR}"
+fi