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