forked from Mirrors/freeswitch
Add -days option to set expiration time of certificates in gentls_cert
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13825 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
dd1ab225dc
commit
87d8e4eda4
|
@ -155,6 +155,10 @@ while [ $# -gt 0 ]; do
|
|||
shift
|
||||
OUTFILE="$1"
|
||||
;;
|
||||
-days)
|
||||
shift
|
||||
DAYS="$1"
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
@ -197,6 +201,7 @@ case ${command} in
|
|||
-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
|
||||
|
|
Loading…
Reference in New Issue