At the bottom of the keygen.sh file,
if [ -s $OUT/${PREFIX}key.pem -a -n "$GROUP" ] ; thenchgrp $GROUP $OUT/${PREFIX}-key.pem $OUT/${PREFIX}-cert.pemfi
$OUT/${PREFIX}key.pem should be $OUT/${PREFIX}-key.pem
commit 1fea764cca9965c5180e237200142daaa2dc9e5f
At the bottom of the keygen.sh file,
if [ -s $OUT/${PREFIX}key.pem -a -n "$GROUP" ] ; then
chgrp $GROUP $OUT/${PREFIX}-key.pem $OUT/${PREFIX}-cert.pem
fi
$OUT/${PREFIX}key.pem should be $OUT/${PREFIX}-key.pem