title: Letsencrypt certificate for www and non-www domain
body: <p>I have generated SSL certificate like so:</p>
  <pre><code>sudo git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt
  ./letsencrypt-auto certonly --standalone
  </code></pre>
  <p>Then I was asked for email ... and a domain name. I entered <code>example.com</code></p>
  <p>I figured out that I could enter multiple domains to be included in one certificate using different approach. E.g.:</p>
  <pre><code>sudo -H ./letsencrypt-auto certonly --standalone -d example.com -d www.example.com
  </code></pre>
  <p>I wonder if I could have entered multiple domains when I was promoted for them in a dialog or now I need to regenerate using a different approach?</p>
  <p>Do I need to remove previous letsencrypt installation before going new way?</p>
  <p><strong>UPDATE -&gt; SOLVED</strong></p>
  <pre><code>sudo ./certbot-auto certonly --standalone -d example.com -d www.example.com
  </code></pre>