Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ohpe committed Mar 9, 2024
1 parent 6eb37e2 commit 979506c
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
33 changes: 33 additions & 0 deletions docs/setup/ca.md
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
```
2 changes: 1 addition & 1 deletion docs/setup/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ has_toc: true
Clone the repository and install the dependencies:
```bash
git clone https://github.com/muraenateam/necrobrowser.git
cd necrobwoser
cd necrobrowser
npm install
```

Expand Down

0 comments on commit 979506c

Please sign in to comment.