Skip to content

Instantly share code, notes, and snippets.

View rafaelsteil's full-sized avatar

Rafael Steil rafaelsteil

View GitHub Profile
@rafaelsteil
rafaelsteil / instructions.md
Created April 25, 2023 02:36
Self signed SSL certificate for local development

Instructions on how to generate a self signed ssl certificate and enable it on the OS level so that browsers accept it.

1. Add domains to /etc/hosts

These are the domains you plan to access over https

e.g:

127.0.0.1 local.dev
127.0.0.1 site1.local.dev
127.0.0.1 site2.local.dev