Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
letsencrypt.sh
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
letsencrypt.sh
Commits
72cc024e
Commit
72cc024e
authored
Jan 21, 2016
by
Nathan Neulinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Retain full result when submitting challenge. Fixes #102
parent
23b0ef5a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
letsencrypt.sh
letsencrypt.sh
+3
-2
No files found.
letsencrypt.sh
View file @
72cc024e
...
@@ -342,7 +342,8 @@ sign_domain() {
...
@@ -342,7 +342,8 @@ sign_domain() {
while
[[
"
${
status
}
"
=
"pending"
]]
;
do
while
[[
"
${
status
}
"
=
"pending"
]]
;
do
sleep
1
sleep
1
status
=
"
$(
http_request get
"
${
challenge_uri
}
"
| get_json_string_value status
)
"
result
=
"
$(
http_request get
"
${
challenge_uri
}
"
)
"
status
=
"
$(
printf
'%s\n'
"
${
result
}
"
| get_json_string_value status
)
"
done
done
[[
"
${
CHALLENGETYPE
}
"
=
"http-01"
]]
&&
rm
-f
"
${
WELLKNOWN
}
/
${
challenge_token
}
"
[[
"
${
CHALLENGETYPE
}
"
=
"http-01"
]]
&&
rm
-f
"
${
WELLKNOWN
}
/
${
challenge_token
}
"
...
@@ -355,7 +356,7 @@ sign_domain() {
...
@@ -355,7 +356,7 @@ sign_domain() {
if
[[
"
${
status
}
"
=
"valid"
]]
;
then
if
[[
"
${
status
}
"
=
"valid"
]]
;
then
echo
" + Challenge is valid!"
echo
" + Challenge is valid!"
else
else
_exiterr
"Challenge is invalid! (returned:
${
status
}
)"
_exiterr
"Challenge is invalid! (returned:
${
status
}
)
(result:
${
result
}
)
"
fi
fi
done
done
...
...
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