[Freeswitch-trunk] [commit] r13825 - freeswitch/trunk/scripts
FreeSWITCH SVN
stkn at freeswitch.org
Wed Jun 17 16:11:19 PDT 2009
Author: stkn
Date: Wed Jun 17 18:11:19 2009
New Revision: 13825
Log:
Add -days option to set expiration time of certificates in gentls_cert
Modified:
freeswitch/trunk/scripts/gentls_cert.in
Modified: freeswitch/trunk/scripts/gentls_cert.in
==============================================================================
--- freeswitch/trunk/scripts/gentls_cert.in (original)
+++ freeswitch/trunk/scripts/gentls_cert.in Wed Jun 17 18:11:19 2009
@@ -155,6 +155,10 @@
shift
OUTFILE="$1"
;;
+ -days)
+ shift
+ DAYS="$1"
+ ;;
esac
shift
done
@@ -197,6 +201,7 @@
-alt Set alternative name (use prefix 'DNS:' or 'URI:')
-org Set organization name
-out Filename for new certificate (create only)
+ -days Certificate expires in X days (default: 365)
EOF
exit 1
More information about the Freeswitch-trunk
mailing list