zh-translation: use sha256 (#9998)

This commit is contained in:
刘旭 2021-06-28 19:28:07 +08:00 committed by GitHub
parent cc6c3ec406
commit 36496520a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ test: yes
{{< text bash >}}
$ openssl req -out nginx.example.com.csr -newkey rsa:2048 -nodes -keyout nginx.example.com.key -subj "/CN=nginx.example.com/O=some organization"
$ openssl x509 -req -days 365 -CA example.com.crt -CAkey example.com.key -set_serial 0 -in nginx.example.com.csr -out nginx.example.com.crt
$ openssl x509 -req -sha256 -days 365 -CA example.com.crt -CAkey example.com.key -set_serial 0 -in nginx.example.com.csr -out nginx.example.com.crt
{{< /text >}}
## 部署一个 NGINX 服务{#deploy-an-nginx-server}