Commit 5a148a02 authored by neil's avatar neil
Browse files

fix apache mode for SAN certificate

parent e03fae00
#!/bin/bash
VER=1.0.1
VER=1.0.2
PROJECT="https://github.com/Neilpang/le"
DEFAULT_CA="https://acme-v01.api.letsencrypt.org"
......@@ -516,8 +516,7 @@ issue() {
_debug wellknown_path "$wellknown_path"
mkdir -p "$wellknown_path"
wellknown_path="$wellknown_path/$token"
echo -n "$keyauthorization" > $wellknown_path
echo -n "$keyauthorization" > "$wellknown_path/$token"
fi
wellknown_url="http://$d/.well-known/acme-challenge/$token"
_debug wellknown_url "$wellknown_url"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment