summaryrefslogtreecommitdiffstats
path: root/modules/cert.inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/cert.inc')
-rw-r--r--modules/cert.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/cert.inc b/modules/cert.inc
index 3b4a222..23aeacd 100644
--- a/modules/cert.inc
+++ b/modules/cert.inc
@@ -17,7 +17,7 @@ cert_to_nssdb() {
return # pass exit code
fi
if [ -d "$src" ]; then
- find "$src" \( -type f -o -type l \) -name "*.pem" | while read -r file; do
+ find "$src" -type l -name "*.?" | while read -r file; do
file="$( readlink -f "$file" )"
# Make sure there's nothing after this call so the exit code survives the loop end
certutil -A -d sql:"$db" -n "$( basename "$file" )" -t C,C,C -i "$file"