YunoHost-Apps / my_webapp_ynh

Custom Web app with SFTP access
GNU General Public License v3.0
48 stars 39 forks source link

Denying dot-files access prevents Let's Encrypt from generating certificates #2

Closed kemenaran closed 8 years ago

kemenaran commented 8 years ago

The Let's Encrypt Yunohost package (https://github.com/alexAubin/letsencrypt_ynh) currently fails to generate certificates for domains where a my_webapp is installed.

This is because, as a part of the certification process, Let's Encrypt needs to access a well-known file (e.g. http://kemenaran.eu/.well-known/acme-challenge/P7tpoZ2d6mIQZSYtW_SOKRVvunQB-8pDiKJHS5-rIBY). If dot-files are blocked, this process cannot succeed.

The Let's Encrypt package setups access to the challenge well-known file using an nginx rule. Is there a way to fix this issue, either in my_webapp or in letsencrypt_ynh?

jeromelebleu commented 8 years ago

It should now work, thanks!