docs: Minor corrections to docker certificate setup

This commit is contained in:
Mike Salvatore 2021-06-10 10:50:59 -04:00
parent 6a1a1721bd
commit 348118a5ed
1 changed files with 6 additions and 6 deletions

View File

@ -82,13 +82,13 @@ been signed by a private certificate authority.
guardicore/monkey-island:1.10.0 --setup-only guardicore/monkey-island:1.10.0 --setup-only
``` ```
1. (Optional but recommended) Move your `.crt` and `.key` files to `./monkey_island_data`. 1. Move your `.crt` and `.key` files to `./monkey_island_data`.
1. Make sure that your `.crt` and `.key` files are read-only and readable only by you. 1. Make sure that your `.crt` and `.key` files are readable only by you.
```bash ```bash
chmod 400 <PATH_TO_KEY_FILE> chmod 600 ./monkey_island_data/<KEY_FILE>
chmod 400 <PATH_TO_CRT_FILE> chmod 600 ./monkey_island_data/<CRT_FILE>
``` ```
1. Edit `./monkey_island_data/server_config.json` to configure Monkey Island 1. Edit `./monkey_island_data/server_config.json` to configure Monkey Island
@ -106,8 +106,8 @@ been signed by a private certificate authority.
"start_mongodb": false "start_mongodb": false
}, },
"ssl_certificate": { "ssl_certificate": {
"ssl_certificate_file": "<PATH_TO_CRT_FILE>", "ssl_certificate_file": "/monkey_island_data/<CRT_FILE>",
"ssl_certificate_key_file": "<PATH_TO_KEY_FILE>", "ssl_certificate_key_file": "/monkey_island_data/<KEY_FILE>"
} }
} }
``` ```