mkcert
mkcert is a simple tool for making locally-trusted development certificates. It requires no configuration.
** Alternative Method(Recommended)**: Use localhost.direct and certs provided at this site instead of mkcert This approach even works, when you don't have admin access to company issued MacBook.
Install
Setup
Create Certs
for example if you want to create certs for traefik
:
Decide on your URL scheme like
*.nip.io
,localhost.direct
,*.localhost
,*.vcap.me
, or even*.bret.lol
Reminder: X.509 wildcards only go one level deep, so this won't match
a.b.localhost.direct
Usage
Used to setup https on localhost
for Vite, SvelteKit project
Reference
Last updated