diff options
Diffstat (limited to 'abs/extra/ca-certificates-java/init-jks-keystore')
-rwxr-xr-x | abs/extra/ca-certificates-java/init-jks-keystore | 10 |
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." |