OpenSSL fixes

This commit is contained in:
2020-03-17 23:01:23 +01:00
parent 8cd837fdd2
commit 04e85c552c

View File

@@ -36,13 +36,13 @@ openssl req -out signing_request.csr -key private_key.key -new
openssl x509 -x509toreq -in certificate.crt -out signing_request.csr -signkey private_key.key
```
### Encrypt a Private Key
### Encrypt a (RSA) private key
```
openssl rsa -des3 -in unencrypted.key -out encrypted.key
```
### Decrypt a Private Key
### Decrypt a (RSA) private key
```
openssl rsa -in encrypted.key -out decrypted.key