Maintenance: GitLab GKE platform upgrade and software upgrade on Friday Oct. 22 at 9 p.m. Service may not be available between 9 p.m. and 9:20 p.m.

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 ...@@ -48,3 +48,6 @@ openssl req -new -config $subdomain.cnf -nodes -keyout $subdomain.$domain.key -o
echo "$subdomain.csr is generated:" echo "$subdomain.csr is generated:"
openssl req -text -noout -in $subdomain.$domain.csr 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
Markdown is supported
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