Commit 19d83c9a authored by Xueshan Feng's avatar Xueshan Feng
Browse files

Add output for self-signed cert.

parent 916dca32
......@@ -48,3 +48,6 @@ openssl req -new -config $subdomain.cnf -nodes -keyout $subdomain.$domain.key -o
echo "$subdomain.csr is generated:"
openssl req -text -noout -in $subdomain.$domain.csr
echo "self-signed cert is generated:"
openssl x509 -req -days 3650 -in $subdomain.$domain.csr -signkey $subdomain.$domain.key -out $subdomain.$domain.crt
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment