Browse Source

Do not check certificate validity

If http redirects to https and currently there is no valid certificate we should still be able to retrieve the $wellknown_url
pull/94/head
René Klomp 10 years ago
committed by GitHub
parent
commit
1f4e40677a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      getssl

+ 1
- 1
getssl View File

@ -1166,7 +1166,7 @@ for d in $alldomains; do
debug wellknown_url "$wellknown_url"
# check that we can reach the challenge ourselves, if not, then error
if [ ! "$(curl --silent --location "$wellknown_url")" == "$keyauthorization" ]; then
if [ ! "$(curl -k --silent --location "$wellknown_url")" == "$keyauthorization" ]; then
error_exit "for some reason could not reach $wellknown_url - please check it manually"
fi


Loading…
Cancel
Save