Update README

This commit is contained in:
Niels Andriesse 2021-03-16 09:23:09 +11:00
parent 59bd01be68
commit 798dc5345f
1 changed files with 11 additions and 2 deletions

View File

@ -17,7 +17,16 @@ openssl pkey -in x25519_private_key.pem -pubout -out x25519_public_key.pem
Make sure you're pointing to the right openssl installation (e.g. macOS provides an old default implementation that doesn't have the X25519 algorithm).
### Step 2: Build the project
### Step 2: Generate an SSL certificate
```
apt install certbot // Only if you don't have certbot installed already
certbot certonly
```
Follow the instructions on-screen and then move the generated certificate and private key to the session-open-group-folder (you'll need to rename them to tls_private_key.pem and tls_certificate respectively as well).
### Step 3: Build the project
```
cargo build
@ -30,7 +39,7 @@ apt update
sudo apt install build-essential
```
### Step 3: Run it
### Step 4: Run it
```
cargo run --release