生成SM2密钥,大写SM2 openssl ecparam -genkey -name SM2 -out priv.key openssl req -new -key priv.key -out cert.csr