add redis and cleanup
- add doc/global_settings.md - docker_database.md - update dependency.md - extrack hlaeja from development-compose.yml to hlaeja-compose.yml - rename compose.yml to development-compose.yml - extract text from readme.md - databases to doc/docker_database.md - hlaeja service to doc/docker_hlaeja.md - move and rename structure.md to doc/dependency.md - move and rename identity.md to doc/rsa_key.mk - move and rename certificate.md to doc/keystore.md
This commit is contained in:
16
doc/rsa_key.md
Normal file
16
doc/rsa_key.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# Generate Private and Public RSA Key
|
||||
|
||||
OpenSSL Project is dedicated to providing a simple installation of OpenSSL for Microsoft Windows.
|
||||
[Download](https://slproweb.com/products/Win32OpenSSL.html)
|
||||
|
||||
Generate an RSA private key, of size 2048, and output it to a file named `identity_private_key.pem` in to `./cert`
|
||||
|
||||
```shell
|
||||
openssl genrsa -out identity_private_key.pem 2048
|
||||
```
|
||||
|
||||
Extract the public key from `identity_private_key.pem` from `./cert`, and output it to a file named `identity_public_key.pem` in to `./cert`
|
||||
|
||||
```shell
|
||||
openssl rsa -in identity_private_key.pem -pubout -out identity_public_key.pem
|
||||
```
|
||||
Reference in New Issue
Block a user