dgw - 2016-05-01

I've had the most confounding experience with this function.

After successfully requesting and enabling a Let's Encrypt certificate on an Ubuntu 12.04 machine with Webmin 1.791, I followed the exact same steps on a second server running Ubuntu 14.04. However, the process fails spectacularly on the 14.04 machine.

I verified that my nginx configuration allows access to the directory I passed into the letsencrypt.cgi form, and through multiple tools (inotifywait, then strace -e open) that when I submit the form in Webmin, no files are being created for the acme-challenge. The webmin.log, miniserv.log, and miniserv.error files contain no hints as to what's going wrong—I can't even find any references to letsencrypt having been run.

So, two hours of searching Google and various forums later, I've given up for now. Any hints for what to try next would be greatly appreciated.