mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 18:57:13 +08:00
11 lines
236 B
Bash
Executable File
11 lines
236 B
Bash
Executable File
#!/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."
|