Merge branch 'master' of github.com:jakeswenson/BitBetter into interactive-licensegen

Merging changes in anticipation of pull request.
This commit is contained in:
Jeff Alyanak 2019-05-29 14:19:00 -04:00
commit ff1011ebfb
No known key found for this signature in database
GPG Key ID: DD0CB89C105B276F
1 changed files with 15 additions and 0 deletions

View File

@ -78,6 +78,21 @@ openssl pkcs12 -export -out cert.pfx -inkey key.pem -in cert.pem -passin pass:te
---
---
**Note: Manually generating Certificate & Key**
If you wish to generate your self-signed cert & key manually, you can run the following commands.
```bash
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.cert -days 36500 -outform DER -passout pass:test
openssl x509 -inform DER -in cert.cert -out cert.pem
openssl pkcs12 -export -out cert.pfx -inkey key.pem -in cert.pem -passin pass:test -passout pass:test
```
Note that the password here must be `test`.<sup>[1](#f1)</sup>
---
## Generating Signed Licenses
There is a tool included in the directory `src/licenseGen/` that will generate new individual and organization licenses. These licenses will be accepted by the modified Bitwarden because they will be signed by the certificate you generated in earlier steps.