Certbot not creating acme-challenge folder
<p>I had working Let's encrypt certificates some months ago (with the old letsencrypt client).
The server I am using is nginx.</p>

<p>Certbot is creating the .well-known folder, but not the acme-challenge folder</p>

<p>Now I tried to create new certificates via <code>~/certbot-auto certonly --webroot -w /var/www/webroot -d domain.com -d www.domain.com -d git.domain.com</code></p>

<p>But I always get errors like this:</p>

<pre><code>IMPORTANT NOTES:
   - The following errors were reported by the server:

   Domain: git.domain.com
   Type:   unauthorized
   Detail: Invalid response from
   http://git.domain.com/.well-known/acme-challenge/ZLsZwCsBU5LQn6mnzDBaD6MHHlhV3FP7ozenxaw4fow:
   "&lt;.!DOCTYPE html&gt;
   &lt;.html lang='en'&gt;
   &lt;.head prefix='og: http://ogp.me/ns#'&gt;
   &lt;.meta charset='utf-8'&gt;
   &lt;.meta content='IE=edge' http-equiv"

   Domain: www.domain.com
   Type:   unauthorized
   Detail: Invalid response from
   http://www.domain.com/.well-known/acme-challenge/7vHwDXstyiY0wgECcR5zuS2jE57m8I3utszEkwj_mWw:
   "&lt;.html&gt;
   &lt;.head&gt;&lt;.title&gt;404 Not Found&lt;/title&gt;&lt;/head&gt;
   &lt;.body bgcolor="white"&gt;
   &lt;.center&gt;&lt;.h1&gt;404 Not Found&lt;/h1&gt;&lt;/center&gt;
</code></pre>

<p>(Of course the dots inside the HTML tags are not really there)</p>

<p>I have looked for a solution, but didn't found one yet.
Does anybody know why certbot is not creating the folders?</p>

<p>Thanks in advance!</p>