How to serve Ionic app with https?

Running ionic serve allows to run the app on

Trying to access results in:

SSL connection error

Is there a way to run the app on https?

The reason I need https is because I use Firebase and it requires requests to be made over https. See: angularjs - Firebase: Why $firebaseSimpleLogin throws a SecurityError? - Stack Overflow

Any ideas?

Did someone find a solution for this?

I’m having the same issue.