mirror of
https://github.com/ekaaty/ca-certificates-brazil.git
synced 2025-12-06 01:22:38 -03:00
Initial import
This commit is contained in:
14
crt2bundle.sh
Executable file
14
crt2bundle.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
out=${1}
|
||||
mkdir -p $(dirname ${out})
|
||||
shift
|
||||
|
||||
in=''
|
||||
for c in ${*}; do
|
||||
echo "+ Loading CA certificate: ${c}";
|
||||
in="${in} -certfile ${c}";
|
||||
done;
|
||||
|
||||
openssl crl2pkcs7 -nocrl ${in} \
|
||||
| openssl pkcs7 -print_certs -out ${out}
|
||||
Reference in New Issue
Block a user