Update certificate instructions

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-02-15 23:27:45 +00:00
parent b19301cda0
commit 7c32cec46d

View File

@@ -4,14 +4,17 @@ An unofficial Docker container of the [ProtonMail Bridge](https://protonmail.com
## Initialization
To initialize and add account to the bridge, run the following command.
To initialize and add account to the bridge, run the following commands.
```bash
docker run --rm -it -v protonmail:/root registry.karaolidis.com/karaolidis/protonmail-bridge init
docker run --rm -it -v protonmail:/root -v /path/to/fullchain.pem:/root/cert.pem:ro -v /path/to/privkey.pem:/root/key.pem:ro registry.karaolidis.com/karaolidis/protonmail-bridge init
cert import
/root/cert.pem
/root/key.pem
login
info
```
Wait for the bridge to startup, then you will see a prompt appear for [Proton Mail Bridge interactive shell](https://proton.me/support/bridge-cli-guide). Use the `login` command and follow the instructions to add your account into the bridge. Then use `info` to see the configuration information (username and password). After that, use `exit` to exit the bridge. You may need `CTRL+C` to exit the docker entirely.
## Run
To run the container, use the following command.