Created
December 27, 2019 02:03
-
-
Save xialeistudio/bd7b70c9315f673e6c61abc9f466fb52 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. 生成私钥 | |
openssl genrsa -out client.key 4096 | |
2、生成证书签名请求(CSR) | |
openssl req -new -key client.key -out client.csr | |
3、使用上一步的证书签名请求签发证书 | |
openssl x509 -req -days 365 -in client.csr -signkey client.key -out client.crt | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment