-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
|
||
|
||
|
||
|
||
## Installing mkcert | ||
|
||
The first step is to install `mkcert` on your system. `mkcert` is a simple tool that allows you to create a local CA and | ||
generate locally-trusted certificates. This is useful for development and testing purposes, as it allows you to create | ||
SSL certificates that are trusted by your browser, without having to pay for a certificate from a public CA. | ||
|
||
To install `mkcert`, follow the instructions on the [official website](https://mkcert.dev/). | ||
The installation process is straightforward and should only take a few minutes. | ||
|
||
|
||
```bash | ||
curl -JLO "https://dl.filippo.io/mkcert/latest?for=linux/amd64" | ||
chmod +x mkcert-v*-linux-amd64 | ||
sudo mv mkcert-v*-linux-amd64 /usr/local/bin/mkcert | ||
``` | ||
|
||
Once `mkcert` is installed, you can use it to create a local CA and generate locally-trusted certificates. | ||
|
||
```bash | ||
mkdir -p ~/tools/muraena/config | ||
cd ~/tools/muraena/config | ||
|
||
mkcert -install | ||
cp `mkcert -CAROOT`/rootCA.pem fullchain.pem | ||
|
||
mkcert phishing.click *.phishing.click | ||
mv phishing.click+1-key.pem privkey.pem | ||
mv phishing.click+1.pem cert.pem | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters