summaryrefslogtreecommitdiffstats
path: root/abs/extra/ca-certificates-java/init-jks-keystore
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-11-01 20:49:39 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-11-01 20:49:39 (GMT)
commit1563ce5b39f113386cc32140754dfa4eafa1a597 (patch)
treea5b2f0c57fc098d85ef7ff8416252cf2d3ed671e /abs/extra/ca-certificates-java/init-jks-keystore
parentbd569bc5aed964cff7aca693255e515b999c98f4 (diff)
downloadlinhes_pkgbuild-1563ce5b39f113386cc32140754dfa4eafa1a597.zip
linhes_pkgbuild-1563ce5b39f113386cc32140754dfa4eafa1a597.tar.gz
linhes_pkgbuild-1563ce5b39f113386cc32140754dfa4eafa1a597.tar.bz2
ca-certificates-java: added for rhino, which is needed for zoneminder
refs #857
Diffstat (limited to 'abs/extra/ca-certificates-java/init-jks-keystore')
-rwxr-xr-xabs/extra/ca-certificates-java/init-jks-keystore10
1 files changed, 10 insertions, 0 deletions
diff --git a/abs/extra/ca-certificates-java/init-jks-keystore b/abs/extra/ca-certificates-java/init-jks-keystore
new file mode 100755
index 0000000..0758420
--- /dev/null
+++ b/abs/extra/ca-certificates-java/init-jks-keystore
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+storepass='changeit'
+. /etc/default/cacerts
+
+JAR=/usr/share/ca-certificates-java/ca-certificates-java.jar
+
+find /etc/ssl/certs -name '*.pem' -printf "+%p\n" | \
+ java -jar $JAR -storepass "$storepass" >/dev/null
+echo "done."