9 echo SomeOrganizationalUnit
10 echo localhost.localdomain
11 echo root@localhost.localdomain
14 if [ $# -eq 0 ] ; then
15 echo $"Usage: `basename $0` filename [...]"
20 PEM1=`/bin/mktemp /tmp/openssl.XXXXXX`
21 PEM2=`/bin/mktemp /tmp/openssl.XXXXXX`
22 trap "rm -f $PEM1 $PEM2" SIGINT
23 answers | /usr/bin/openssl req -newkey rsa:1024 -keyout $PEM1 -nodes -x509 -days 365 -out $PEM2 2> /dev/null
26 cat $PEM2 >> ${target}