1
0
mirror of https://github.com/jakeswenson/BitBetter.git synced 2023-10-10 13:36:57 +02:00

Update README.md

This commit is contained in:
online-stuff 2018-11-21 21:39:13 -07:00 committed by GitHub
parent 1507f336c1
commit 27869735fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,25 +15,9 @@ replace anywhere `bitwarden/api` is used with `bitbetter/api` and give it a go.
## Issuing your own licenses
The repo is setup to replace the licesning signing cert in bitwarden.core with my own personal self signed cert (`cert.cert`)
The repo is setup to replace the licesning signing cert in bitwarden.core with your own personal self signed cert (`cert.cert`)
If you want to be able to sign your own licenses obviously you'll have to replace it with your own self signed cert.
you can generate one with openssl like so:
```bash
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.cert -days 36500 -outform DER
```
### Convert your DER certificate to a PEM
```bash
openssl x509 -inform DER -in cert.cert -out cert.pem
```
### Convert your public and private key into a PKCS12/PFX
```bash
openssl pkcs12 -export -out cert.pfx -inkey key.pem -in cert.pem
```
### Signing licesnses