Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
devops-tools
ssl-certificate-utils
Commits
11d22b0f
Commit
11d22b0f
authored
Apr 07, 2016
by
Xueshan Feng
Browse files
rename site.cnf to be site specific.
parent
1cb8faa1
Pipeline
#24
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
create-star-cert-req.sh
View file @
11d22b0f
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment