How to use HTTPS for local development
[REF]:
https://web.dev/how-to-use-local-https/
Sometimes, you need to run your local development site with HTTPS. Tools and tips to do this safely and quickly. In this post, statements about localhost are valid for 127.0.0.1 and [::1] as well, since they both describe the local computer address, also called “loopback address”….