From abbfc9126893ab547bca067244f61cc5b66d922e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B4=94=E5=A3=AB=E6=9D=B0?= Date: Wed, 15 Mar 2017 14:57:43 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E6=88=90=E8=87=AA=E7=AD=BE=E5=90=8D?= =?UTF-8?q?=E8=AF=81=E4=B9=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加生成自签名证书示例 --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index c01d1f78..1f1a389a 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,13 @@ Quick Start Guide describes the basic instructions for compiling, installing, an -in -sigfile .sig ``` +6. 生成自签名证书 + + ```sh + $ gmssl genpkey -algorithm EC -pkeyopt ec_paramgen_curve:sm2p256v1 \ + -pkeyopt ec_param_enc:named_curve -out ca.key + $ gmssl req -sm3 -new -x509 -days 365 -key ca.key -out ca.crt + ``` ## Project documentation