title: Acme cookbook not working as expected
body: <p>I'm creating a cookbook that creates a self signed cert for nginx and hopefully uses the certbot cookbook to overwrite the self-signed cert for a letsencrypt cert:</p>
  
  <pre><code># Create self signed certificate
  acme_selfsigned 'timber.com' do
    crt     '/etc/letsencrypt/live/timber.com/cert.pem'
    chain   '/etc/letsencrypt/live/timber.com/chain.pem'
    key     '/etc/letsencrypt/live/timber.com/privkey.pem'
  end
  
  # Create letsencrypt cert
  certbot_certonly_webroot 'timber.com' do
    webroot_path '/home_page/'
    email 'lumber@timber.com'
    domains ['timber.com']
    retries           5
    retry_delay       240
    notifies :restart, resources(:service =&gt; "nginx")
    agree_tos true
  end
  </code></pre>
  
  <p>The nginx self signed site comes up correctly but cerbot does not overwrite the existing self-signed cert in:</p>
  
  <pre><code>/etc/letsencrypt/live/timber.com/
  </code></pre>
  
  <p>Instead it makes a second cert at:</p>
  
  <pre><code>/etc/letsencrypt/live/timber.com-0001/
  </code></pre>
  
  <p>Does anyone know of a way to replace / overwrite the original cert?</p>