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
22065c3a
Commit
22065c3a
authored
3 months ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
update text output
parent
8d0b76f4
Branches
Branches containing commit
No related tags found
1 merge request
!25
update text output
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cm.sh
+8
-6
8 additions, 6 deletions
cm.sh
with
8 additions
and
6 deletions
cm.sh
+
8
−
6
View file @
22065c3a
...
...
@@ -578,6 +578,11 @@ function public_add(){
local
iCounter
typeset
-i
iCounter
=
0
_wd
"--- create output dir
$dircerts
"
mkdir
-p
"
${
CM_dircerts
}
"
2>/dev/null
_wd
"--- issue certificate"
for
_mydomain
in
$CM_fqdn
$*
do
iCounter+
=
1
...
...
@@ -585,7 +590,7 @@ function public_add(){
if
[
-n
"
$CM_webroot
"
]
then
echo
"
WEBROOT found
"
echo
"
INFO: Using http request on port 80 as challenge; put file into
$CM_webroot
"
if
[
$iCounter
-eq
1
]
then
_params+
=
"-w
$CM_webroot
"
...
...
@@ -593,6 +598,7 @@ function public_add(){
else
if
[
-n
"
${
CM_challenge_alias
}
"
]
then
echo
"INFO: Using DNS for challenge"
_params+
=
" --challenge-alias "
if
!
echo
"
$_mydomain
"
|
grep
"
${
CM_certmatch
}
"
>
/dev/null
then
...
...
@@ -607,10 +613,6 @@ function public_add(){
# 2023-05-08: Specifies the domain key length
_params+
=
"--keylength 2048 "
_wd
"--- create output dir
$dircerts
"
mkdir
-p
"
${
CM_dircerts
}
"
2>/dev/null
_wd
"--- create certificate"
echo
"
$ACME
--issue
$_params
$ACME_Params
"
if
!
$ACME
--issue
$_params
$ACME_Params
then
...
...
@@ -929,7 +931,7 @@ cat <<ENDOFHEADER
$line
- - - ---===>>> CERT MANAGER - v
$_version
<<<===--- - - -
- - - ---===>>> CERT MANAGER - v
$_version
<<<===--- - - -
$line
...
...
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