mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-24 11:48:48 +00:00
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
|
shift
|
||||||
OUTFILE="$1"
|
OUTFILE="$1"
|
||||||
;;
|
;;
|
||||||
|
-days)
|
||||||
|
shift
|
||||||
|
DAYS="$1"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
@ -197,6 +201,7 @@ case ${command} in
|
|||||||
-alt Set alternative name (use prefix 'DNS:' or 'URI:')
|
-alt Set alternative name (use prefix 'DNS:' or 'URI:')
|
||||||
-org Set organization name
|
-org Set organization name
|
||||||
-out Filename for new certificate (create only)
|
-out Filename for new certificate (create only)
|
||||||
|
-days Certificate expires in X days (default: 365)
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user