How to serve ionic app with https?
<p>Running ionic serve (<code>ionic serve --lab</code>) allows to run the app on <a href="http://localhost:8100/ionic-lab">http://localhost:8100/ionic-lab</a></p>

<p>Trying to access <a href="https://localhost:8100/ionic-lab">https://localhost:8100/ionic-lab</a> results in:</p>

<blockquote>
  <p>SSL connection error</p>
</blockquote>

<p>Is there a way to run the app on https?</p>

<p>I followed the instructions from the <a href="https://certsimple.com/blog/localhost-ssl-fix">link</a> to overcome SSL error,  but couldn't figure out how to use it with ionic (i.e. I don't know how to use <code>cert.pem</code> &amp; <code>key.pem</code> files while starting the server with the command <code>ionic serve --lab</code>)</p>