title: SSL with Angular-cli
body: <p>How does one trust the SSL certificates that are self generated by the NG serve command?</p>
  
  <p>Steps to reproduce:</p>
  
  <p>Enviroment (<code>ng --version</code>)</p>
  
  <pre><code>Angular CLI: 7.3.1
  Node: 10.15.1
  OS: win32 x64
  Angular: 7.2.4
  </code></pre>
  
  <p>Create a new project with <code>ng new myApp</code>.</p>
  
  <p>change the <code>package.json</code> to contain <code>"start": "ng serve --ssl"</code></p>
  
  <p>run <code>npm start</code></p>
  
  <p>navigate to <a href="https://localhost:4200" rel="nofollow noreferrer">https://localhost:4200</a> </p>
  
  <p>This will now throw a certifcate error for the cert that is generated.</p>
  
  <p>I'm specifically looking for a way to trust the certifcates generically, as I know I can just install the gen'd cert, but that only works for a month.</p>
  
  <p>I also am not particularly keen to self gen the certs, as I want it to "just"
   work across multiple projects.</p>