-
Notifications
You must be signed in to change notification settings - Fork 884
Quickstart tutorial
Piotr Duszynski edited this page Jan 20, 2019
·
2 revisions
This is an introduction step by step tutorial on how to set up Modlishka for local testing.
$ go get -u github.com/drk1wi/Modlishka
$ cd $GOPATH/src/github.com/drk1wi/Modlishka/
$ openssl genrsa -out MyRootCA.key 2048`
$ openssl req -x509 -new -nodes -key MyRootCA.key -sha256 -days 1024 -out MyRootCA.pem
Edit the 'plugin/autocert.go' file:
-
Replace the const CA_CERT variable with the content of the MyRootCA.pem file (copy and paste).
-
Replace the const CA_CERT_KEY variable with the content of the MyRootCA.key file (copy and paste).
Install and set the right trust level for the 'MyRootCA' (MyRootCA.pem file) CA in your browsers certificate store:
$ make
$ sudo ./dist/proxy -config templates/google.com_gsuite.json
Open your browser and paste in the following URL: https://loopback.modlishka.io