Initial import

This commit is contained in:
Christian Tosta
2025-05-20 01:18:48 -03:00
parent acb565fc1a
commit f3835684cf
7 changed files with 228 additions and 0 deletions

14
crt2bundle.sh Executable file
View 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}