Mini project using Golang + Postgres.
https://gist.github.com/cecilemuller/9492b848eb8fe46d462abeb26656c4f8
- Run
make certto generate certificates. - Use server certs into following line:
r.RunTLS(":8080", "cert/MwServerCA.crt", "cert/MwServerCA.key") - Import
cert/MwClientCA.crtinto chrome-browser's SSL certificate Authorities list. - Now run
make run& hithttp://localhost:8080/on browser.