mirror of
https://github.com/trimstray/the-book-of-secret-knowledge
synced 2024-12-26 09:58:40 +01:00
added new lines to long one-liners - for openssl
- signed-off-by: trimstray <trimstray@gmail.com>
This commit is contained in:
parent
1c0ac22d75
commit
4ba2c8dbd9
1 changed files with 2 additions and 1 deletions
|
@ -1897,7 +1897,8 @@ openssl pkey -in ${_fd} -pubout -out ${_fd_pub} )
|
|||
```bash
|
||||
# _curve: prime256v1, secp521r1, secp384r1
|
||||
( _fd="domain.com.key" ; _fd_csr="domain.com.csr" ; _curve="prime256v1" ; \
|
||||
openssl ecparam -out ${_fd} -name ${_curve} -genkey ; openssl req -new -key ${_fd} -out ${_fd_csr} -sha256 )
|
||||
openssl ecparam -out ${_fd} -name ${_curve} -genkey ; \
|
||||
openssl req -new -key ${_fd} -out ${_fd_csr} -sha256 )
|
||||
```
|
||||
|
||||
###### Convert DER to PEM
|
||||
|
|
Loading…
Reference in a new issue