Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
ssl-ca
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nimrod
ssl-ca
Commits
f27c7902
Commit
f27c7902
authored
9 years ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
Don't set default_days since certs are still set for 30 days, use the flag explicitly.
parent
d2133595
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ssl-ca
+2
-1
2 additions, 1 deletion
ssl-ca
with
2 additions
and
1 deletion
ssl-ca
+
2
−
1
View file @
f27c7902
...
@@ -12,7 +12,6 @@ certs = \$dir/certs
...
@@ -12,7 +12,6 @@ certs = \$dir/certs
certificate =
\$
dir/CA.crt
certificate =
\$
dir/CA.crt
private_key =
\$
dir/CA.key
private_key =
\$
dir/CA.key
default_md = sha256
default_md = sha256
default_days = 365
email_in_dn = no
email_in_dn = no
RANDFILE = /dev/urandom
RANDFILE = /dev/urandom
database = /dev/null
database = /dev/null
...
@@ -75,6 +74,7 @@ init () {
...
@@ -75,6 +74,7 @@ init () {
-new
\
-new
\
-key
CA.key
\
-key
CA.key
\
-extensions
v3_ca
\
-extensions
v3_ca
\
-days
3650
\
-out
CA.crt
-out
CA.crt
fi
fi
if
[
-e
CA.p12
]
if
[
-e
CA.p12
]
...
@@ -123,6 +123,7 @@ sign_key () {
...
@@ -123,6 +123,7 @@ sign_key () {
-set_serial
$seed
\
-set_serial
$seed
\
-extensions
v3_req
\
-extensions
v3_req
\
-extfile
openssl.cnf
\
-extfile
openssl.cnf
\
-days
3650
\
-CAkey
CA.key
-CAkey
CA.key
rm
"
$csr
"
rm
"
$csr
"
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment