Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
caucase
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Boxiang Sun
caucase
Commits
d30818ef
Commit
d30818ef
authored
Feb 12, 2021
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell/caucase.sh: Simplify renewCertificate locals declaration.
parent
56ae57a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
shell/caucase.sh
shell/caucase.sh
+2
-3
No files found.
shell/caucase.sh
View file @
d30818ef
...
@@ -366,9 +366,8 @@ renewCertificate () {
...
@@ -366,9 +366,8 @@ renewCertificate () {
# If created, key file permissions will be set so group and other have no
# If created, key file permissions will be set so group and other have no
# access.
# access.
# shellcheck disable=SC2039
# shellcheck disable=SC2039
local
url
=
"
$1
"
oldkey
=
"
$2
"
bits
=
"
$3
"
newcrt
=
"
$4
"
newkey
=
"
$5
"
emptyreqcnf
local
url
=
"
$1
"
oldkey
=
"
$2
"
bits
=
"
$3
"
newcrt
=
"
$4
"
newkey
=
"
$5
"
emptyreqcnf
\
# shellcheck disable=SC2039
newkeydata newcrtdata
local
newkeydata newcrtdata
emptyreqcnf
=
"
$(
mktemp
--suffix
=
emptyreq.cnf
)
"
emptyreqcnf
=
"
$(
mktemp
--suffix
=
emptyreq.cnf
)
"
cat
>
"
$emptyreqcnf
"
<<
EOF
cat
>
"
$emptyreqcnf
"
<<
EOF
...
...
Write
Preview
Markdown
is supported
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