How to use HTTPS for local development
TLDRSome APIs that won't work on a deployed HTTP site, will work on http://localhost. mkcert is a tool that helps you do this in a few commands. Never export or share the file rootCA-key.pem mkcert creates automatically when you run mkcert -install.
Table of contents
Running your site locally with HTTPS using mkcert (recommended) #mkcert in shortRunning your site locally with HTTPS: other options #7 Comments
Sort: