-
Notifications
You must be signed in to change notification settings - Fork 944
Quickstart tutorial
Piotr edited this page Jan 6, 2026
·
3 revisions
This tutorial shows how to set up Modlishka for local testing.
git clone https://github.com/drk1wi/Modlishka.git
cd Modlishka
makeOr using go install:
go install github.com/drk1wi/Modlishka@latestGenerate a self-signed CA certificate:
openssl genrsa -out MyRootCA.key 2048
openssl req -x509 -new -nodes -key MyRootCA.key -sha256 -days 1024 -out MyRootCA.pemEdit plugin/autocert.go:
- Replace the
const CA_CERTvariable with the content ofMyRootCA.pem - Replace the
const CA_CERT_KEYvariable with the content ofMyRootCA.key
Rebuild after editing:
makeInstall the CA certificate in your browser:
sudo ./dist/proxy -config templates/google.com_gsuite.jsonOpen your browser and navigate to: https://loopback.modlishka.io
The loopback.modlishka.io domain resolves to 127.0.0.1, making it convenient for local testing.