Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
certman
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
Container registry
Model registry
Operate
Environments
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
IML Open Source
certman
Commits
ee04bdb3
Commit
ee04bdb3
authored
2 years ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
skip function _fixKeyfile with former workaround
parent
10e9fad5
No related branches found
No related tags found
1 merge request
!20
skip function _fixKeyfile with former workaround
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cm.sh
+11
-10
11 additions, 10 deletions
cm.sh
with
11 additions
and
10 deletions
cm.sh
+
11
−
10
View file @
ee04bdb3
...
...
@@ -34,6 +34,7 @@
# 2022-04-21 <axel.hahn@iml.unibe.ch> mix multiple domains using domain alias or not
# 2022-05-19 <axel.hahn@iml.unibe.ch> add timer and debug.log
# 2022-05-20 <axel.hahn@iml.unibe.ch> update _wait_4_free_slot and data in debug.log
# 2023-02-01 <axel.hahn@unibe.ch> skip function _fixKeyfile with former workaround
# ======================================================================
...
...
@@ -73,16 +74,16 @@ CM_timer_start=$( date +%s.%N )
# BUGFIX: acme.sh does not create a new key file on renew.
# After switching from csr method to param -d we got a 0 byte Keyfile
function
_fixKeyfile
(){
local
_acme_keyfile
=
~/.acme.sh/
${
CM_fqdn
}
/
${
CM_fqdn
}
.key
if
test
!
-f
"
$_acme_keyfile
"
then
echo
"FIX: copy key from csr folder
$CM_filekey
to
$_acme_keyfile
"
if
!
cp
"
$CM_filekey
"
"
$_acme_keyfile
"
then
exit
1
fi
fi
echo
"SKIP: _fixKeyfile won't be executed anymore."
# local _acme_keyfile=~/.acme.sh/${CM_fqdn}/${CM_fqdn}.key
# if test ! -f "$_acme_keyfile"
# then
# echo "FIX: copy key from csr folder
$CM_filekey
to
$_acme_keyfile"
# if ! cp "$CM_filekey" "$_acme_keyfile"
# then
# exit 1
#
fi
# fi
}
# internal function; list certificates incl. creation date and renew date
...
...
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