mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 13:11:41 +00:00
fix apache mode for SAN certificate
This commit is contained in:
parent
e03fae0099
commit
5a148a02d7
5
le.sh
5
le.sh
@ -1,5 +1,5 @@
|
|||||||
#!/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() {
|
|||||||
_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"
|
||||||
|
Loading…
Reference in New Issue
Block a user