GmSSL icon indicating copy to clipboard operation
GmSSL copied to clipboard

生成证书报错

Open kssssssssss opened this issue 9 years ago • 2 comments

在 Mac OS (macOS Sierra 10.12)中 参考文档使用以下命令 $ 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

生成SM3证书请求都时候,抛出下列错误:

140737252012992:error:0D0DC0C6:asn1 encoding routines:ASN1_item_sign_ctx:digest and key type not supported:crypto/asn1/a_sign.c:183:

kssssssssss avatar Aug 05 '17 07:08 kssssssssss

请参考 https://github.com/guanzhi/GmSSL/issues/212

memdumper avatar Aug 05 '17 13:08 memdumper

Marked as stale issue. Will be closed later if no activity for a while.

github-actions[bot] avatar Oct 04 '20 01:10 github-actions[bot]