added new lines to long one-liners - for openssl

- signed-off-by: trimstray <trimstray@gmail.com>
This commit is contained in:
trimstray 2019-04-06 10:22:14 +02:00
parent 1c0ac22d75
commit 4ba2c8dbd9

View File

@ -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