You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
312 B

#!/bin/sh
./x509-util.sh /openpkg-dev example example example.com "Example Corporation" 3650 1 1 1
( for pem in *.pem; do
txt=`echo $pem | sed -e 's;\.pem$;.txt;'`
echo "<file name=\"$pem\">"
cat $txt $pem
echo "</file>"
done
) >x509-example.txt
rm -f example-*.pem
rm -f example-*.txt