Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
5a148a02
Commit
5a148a02
authored
Jan 10, 2016
by
neil
Browse files
fix apache mode for SAN certificate
parent
e03fae00
Changes
1
Show whitespace changes
Inline
Side-by-side
le.sh
View file @
5a148a02
#!/bin/bash
#!/bin/bash
VER
=
1.0.
1
VER
=
1.0.
2
PROJECT
=
"https://github.com/Neilpang/le"
PROJECT
=
"https://github.com/Neilpang/le"
DEFAULT_CA
=
"https://acme-v01.api.letsencrypt.org"
DEFAULT_CA
=
"https://acme-v01.api.letsencrypt.org"
...
@@ -516,8 +516,7 @@ issue() {
...
@@ -516,8 +516,7 @@ issue() {
_debug wellknown_path
"
$wellknown_path
"
_debug wellknown_path
"
$wellknown_path
"
mkdir
-p
"
$wellknown_path
"
mkdir
-p
"
$wellknown_path
"
wellknown_path
=
"
$wellknown_path
/
$token
"
echo
-n
"
$keyauthorization
"
>
"
$wellknown_path
/
$token
"
echo
-n
"
$keyauthorization
"
>
$wellknown_path
fi
fi
wellknown_url
=
"http://
$d
/.well-known/acme-challenge/
$token
"
wellknown_url
=
"http://
$d
/.well-known/acme-challenge/
$token
"
_debug wellknown_url
"
$wellknown_url
"
_debug wellknown_url
"
$wellknown_url
"
...
...
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