Description
A workaround has been commented below, see: #6126 (comment)
Right now there's just the general acceptance that the SSL Certificate will cause some friction.
Note that the server will use a self-signed certificate, so your web browser will almost definitely display a warning upon accessing the page.
Source: Create React App Website
React's website (and the development world really) has been gifted with Gatsby, and I think they got it right.
When you run a gatsby website in development mode with the --https
flag, it will leverage the package devcert-san. It's (near) frictionless, handles trusting the CA and gets you a proper lock on the browser bar.
I don't think it's really a high priority but wanted to bring it up.
Just to follow up, I also found this but haven't worked with it (yet).
EDIT:
a PR implementing this feature has been open for a long time now: #5845