1
0
mirror of https://github.com/chai2010/advanced-go-programming-book.git synced 2025-05-24 20:52:22 +00:00

Merge pull request #250 from fuwensun/pr4-5-1e

ch4-5-fix typo
This commit is contained in:
chai2010 2018-08-08 10:06:01 +08:00 committed by GitHub
commit f9f27c9ea2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ func main() {
为了避免证书的传递过程中被篡改,可以通过一个安全可靠的根证书分别对服务器和客户端的证书进行签名。这样客户端或服务器在收到对方的证书后可以通过根证书进行验证证书的有效性。
根证书的生成方式和签名的自签名证书的生成方式类似:
根证书的生成方式和自签名证书的生成方式类似:
```
$ openssl genrsa -out ca.key 2048