Make it clearer that kochab handles certificate generation

This commit is contained in:
Emii Tatsuo 2020-11-30 17:48:19 -05:00
parent 2c09831d22
commit bc6d0b89bc
Signed by: Emi
GPG key ID: 68FAB2E2E6DFC98B

View file

@ -22,13 +22,8 @@ kochab = { git = "https://gitlab.com/Alch_Emi/kochab.git", branch = "kochab" }
# Generating a key & certificate
By default, kochab enables the `certgen` feature, which will automatically generate a certificate for you. All you need to do is run the program once and follow the prompts printed to stdout. You can override this behavior by disabling the feature, or by using the methods in the `Builder`.
By default, kochab enables the `certgen` feature, which will **automatically generate a certificate** for you. All you need to do is run the program once and follow the prompts printed to stdout. You can override this behavior by disabling the feature, or by using the methods in the `Builder`.
If you want to generate a certificate manually, you can use the command:
```sh
mkdir cert && cd cert
openssl req -x509 -nodes -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365
```
If you want to generate a certificate manually, it's recommended that you temporarily enable the `certgen` feature to do it, and then disable it once you're done, although you can also use the `openssl` client tool if you wish
[northstar]: https://github.com/panicbit/northstar "Northstar GitHub"