Browse Source

Revert "Remove Triple DES from OpenSSL section"

pull/348/head
Sleekbobby1011 2 years ago
committed by GitHub
parent
commit
c910d7be66
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      README.md

+ 2
- 2
README.md View File

@@ -2611,7 +2611,7 @@ openssl genrsa -out ${_fd} ${_len} )
###### Generate private key with passphrase ###### Generate private key with passphrase


```bash ```bash
# _ciph: aes128, aes256
# _ciph: des3, aes128, aes256
# _len: 2048, 4096 # _len: 2048, 4096
( _ciph="aes128" ; _fd="private.key" ; _len="2048" ; \ ( _ciph="aes128" ; _fd="private.key" ; _len="2048" ; \
openssl genrsa -${_ciph} -out ${_fd} ${_len} ) openssl genrsa -${_ciph} -out ${_fd} ${_len} )
@@ -2627,7 +2627,7 @@ openssl rsa -in ${_fd} -out ${_fd_unp} )
###### Encrypt existing private key with a passphrase ###### Encrypt existing private key with a passphrase


```bash ```bash
# _ciph: aes128, aes256
# _ciph: des3, aes128, aes256
( _ciph="aes128" ; _fd="private.key" ; _fd_pass="private_pass.key" ; \ ( _ciph="aes128" ; _fd="private.key" ; _fd_pass="private_pass.key" ; \
openssl rsa -${_ciph} -in ${_fd} -out ${_fd_pass} openssl rsa -${_ciph} -in ${_fd} -out ${_fd_pass}
``` ```


Loading…
Cancel
Save