title: How to do SSL on a domain only accessable through current network?
body: <h2>To Set The Context</h2>
  <p>I am using <code>Node.JS</code> on Mac OS. I am hosting a server on the network domain <code>quicvo.local</code>. I am curious how to have proper SSL without the browser giving a warning saying something along the lines of:</p>
  <blockquote>
  <p>This website may be impersonating &quot;quicvo.local&quot; to steal your personal or financial information. You should go back to the previous page.</p>
  </blockquote>
  <p>Of course, the user can <em>trust</em> this website on their device, but that is not ideal and makes my website look very sketchy. I have tried using <a href="https://letsencrypt.org/" rel="nofollow noreferrer">Let's Encrypt</a>, but it doesn't allow domains in the <code>.local</code> extension. I figured that someone else has tried this and succeeded, so I thought I might ask. I have gotten this far with <a href="https://www.openssl.org/" rel="nofollow noreferrer">OpenSSL</a> by self-signing a certificate.</p>
  <hr />
  <h2>Here Is What I Have Tried</h2>
  <p><strong>OpenSSL Command Line In Terminal At <code>./security/</code> Context</strong></p>
  <pre><code>openssl req -nodes -new -x509 -keyout server.key -out server.cert
  </code></pre>
  <p><strong>Node.JS <code>require('https').createServer</code> Options</strong></p>
  <pre class="lang-js prettyprint-override"><code>const security = {
      key: fs.readFileSync('./security/server.key'),
      cert: fs.readFileSync('./security/server.cert')
  };
  </code></pre>