Allow SSL on localhost via dev server

Hi !
How can i allow SSL on my localhost via the dev server (launched via bench serve) ?
i can redirect some domain (dev.company.com) to the localhost editing my etc/hosts file
i also generated a local cert using mkcert but i have to provide the above cert to the frappe dev server but how to do so ??
i tried to update my site.config.json file but it’s not working
could someone help please

I need it for adding an embed page to my add but this page allow only allowed domains with https allowed

Thanks !

i guess you mean the server which run via “bench start” not the one using nginx

Configure nginx with certificates and reverse proxy to localhost:8000

1 Like