Created
November 10, 2021 19:42
-
-
Save bomale/0371f0c2e38cc7323a5ba46922a1464e to your computer and use it in GitHub Desktop.
fix http challenge
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/usr/syno/sbin/syno-letsencrypt renew-all -vv | |
##OR https://letsdebug.net/ fill domain field and send form, click on "Show verbose information" (?debug=y) | |
##go to #LetsEncryptStaging-Debug section | |
#now copy param based on this format "The key authorization file from the server did not match this challenge "URI.ACCOUNT_TOKEN" != "SOMETHING WRONG" | |
#edit /usr/syno/share/nginx/LetsEncrypt.mustache | |
location ~ ^/.well-known/acme-challenge/(.*)$ { | |
default_type text/plain; | |
return 200 $1.ACCOUNT_TOKEN; | |
} | |
#save it and synosystemctl restart nginx | |
#reload command or letsdebug.net page (staging) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment