瀏覽代碼

update openssl one-liners

- signed-off-by: trimstray <trimstray@gmail.com>
pull/104/head
trimstray 5 年之前
父節點
當前提交
c8a4d7fa59
共有 1 個檔案被更改,包括 9 行新增2 行删除
  1. +9
    -2
      README.md

+ 9
- 2
README.md 查看文件

@@ -2385,10 +2385,17 @@ openssl x509 -signkey ${_fd} -nodes \
-in ${_fd_csr} -req -days ${_days} -out ${_fd_out} )
```

###### Generate DH Param key
###### Generate DH public parameters

```bash
openssl dhparam -out /etc/nginx/ssl/dhparam_4096.pem 4096
( _dh_size="2048" ; \
openssl dhparam -out /etc/nginx/ssl/dhparam_${_dh_size}.pem "$_dh_size" )
```

###### Display DH public parameters

```bash
openssl pkeyparam -in dhparam.pem -text
```

###### Extract private key from pfx


Loading…
取消
儲存