OpenSSL fixes
This commit is contained in:
@@ -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
|
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
|
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
|
openssl rsa -in encrypted.key -out decrypted.key
|
||||||
|
|||||||
Reference in New Issue
Block a user