Annotation of embedtools/etc/signkey_voucher.sh, revision 1.1.2.1

1.1.2.1 ! misho       1: #!/bin/sh
        !             2: #
        !             3: # (C)`12 AITNET - Sofia/Bulgaria <office@aitnet.org>
        !             4: #   by Michael Pounov <misho@elwix.org>
        !             5: #
        !             6: # $Id:$
        !             7: #
        !             8: 
        !             9: RSABITS=64
        !            10: SSLDIR=/etc/ssl
        !            11: 
        !            12: echo ">>> Create RSA pair ..."
        !            13: openssl genrsa $RSABITS >$SSLDIR/voucher.key
        !            14: chmod 0600 $SSLDIR/voucher.key
        !            15: openssl rsa -pubout <$SSLDIR/voucher.key >$SSLDIR/voucher.crt
        !            16: echo .

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>