如何用openssl命令创建csr文件时添加attributes?
openssl req -ecdsa-with-SHA1 -new -key a.pem -subj "/DC=a" -out a.csr
如下:
无attributes
有attributes
如何用openssl命令创建csr文件时添加attributes?
openssl req -ecdsa-with-SHA1 -new -key a.pem -subj "/DC=a" -out a.csr
如下:
无attributes
有attributes
要在使用 openssl 命令创建 CSR 文件时添加 attributes,你可以向命令行选项中添加 -reqexts 和 -config 参数,并在 OpenSSL 配置文件中指定自定义的 attributes 配置。具体步骤如下: