added new lines to long one-liners - for openssl

- signed-off-by: trimstray <trimstray@gmail.com>
pull/83/head
trimstray 2019-04-06 10:22:14 +02:00
parent 1c0ac22d75
commit 4ba2c8dbd9
1 changed files with 2 additions and 1 deletions

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