提交 87d8e4ed authored 作者: Stefan Knoblich's avatar Stefan Knoblich

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
上级 dd1ab225
......@@ -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
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论