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 11d22b0f authored by Xueshan Feng's avatar Xueshan Feng
Browse files

rename site.cnf to be site specific.

parent 1cb8faa1
Pipeline #24 skipped
......@@ -43,7 +43,7 @@ fi
echo "creating the $subdomain.key and $subdomain.csr...."
cat site.cnf.tmpl | sed "s/FQDN/$subdomain.$domain/;s/OU/$ou/;s/EMAIL/$email/" > $subdomain.cnf
openssl req -new -config site.cnf -rand /dev/urandom -nodes -keyout $subdomain.$domain.key -out $subdomain.$domain.csr
openssl req -new -config $subdomain.cnf -rand /dev/urandom -nodes -keyout $subdomain.$domain.key -out $subdomain.$domain.csr
echo "$subdomain.csr is generated:"
openssl req -text -noout -in $subdomain.$domain.csr
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