在OpenSSL 的配置文件(如 openssl.cnf)中,两者的定义方式如下: (1) v3_req 的典型配置 代码语言:javascript 复制 [ req ] default_bits = 2048 default_md = sha256 prompt = no distinguished_name = req_distinguished_name x509_extensions = v3_req # 关键:指定使用 v3_req 扩展 req_...
9、体相关信息:复制代码代码如下:$ openssl req -new -key RSA.pem -passin pass:123456 -out client.pemYou are about to be asked to enter information that will be incorporatedinto your certificate request.What you are about to enter is what is called a Distinguished Name or a DN.There are ...
B<attributes>:这个指定了包含很多请求属性的字节:格式和B<distinguished_name>一样。具有代表性的是包含challengePassword或unstructuredName类型。目前来说,他们是被OpenSSL的请求签名实体所忽略了的,但是一些CA有可能需要他们。 B<distinguished_name>:这个指定了包含distinguished名字域,当产生一个证书或证书请求时,有提示。
与命令行的"-[dgst]"对应prompt :当指定为no时,则不提示输入证书请求的字段信息,而是直接从openssl.cnf中读取 :请小心设置该选项,很可能请求文件创建失败就是因为该选项设置为nodistinguished_name:(DN)是一个扩展属性段落,用于指定证书请求时可被识别的字段名称。
:当指定为no时,则不提示输入证书请求的字段信息,而是直接从openssl.cnf中读取 :请小心设置该选项,很可能请求文件创建失败就是因为该选项设置为no distinguished_name:(DN)是一个扩展属性段落,用于指定证书请求时可被识别的字段名称。 示例: a.根据私钥pri_key.pem生成一个新的证书请求文件。其中"-new"表示新生成...
B<attributes>:这个指定了包含很多请求属性的字节:格式和B<distinguished_name>一样。具有代表性的是包含challengePassword 或 unstructuredName 类型。目前来说,他们是被OpenSSL的请求签名实体所忽略了的,但是一些CA有可能需要他们。 B<distinguished_name>:这个指定了包含distinguished名字域,当产生一个证书或证书请求时,...
openssl简介-指令req 用法: openssl req [-inform PEM|DER] [-outform PEM|DER] [-in filename] [-passin arg] [-out filename] [-passout arg] [-text] [-noout] [-verify] [-modulus] [-new] [-rand file(s)] [-newkey rsa]
$ openssl req -new -key RSA.pem -passin pass:123456 -out client.pem You are about to be asked to enter information that will be incorporatedinto your certificate request.What you are about to enter is what is called a Distinguished Name or a DN.There are quite a few fields but you ...
$ openssl req -new -key RSA.pem -passin pass:123456 -out client.pem You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. ...
B<attributes>:这个指定了包含很多请求属性的字节:格式和B<distinguished_name>一样。具有代表性的是包含challengePassword或unstructuredName类型。目前来说,他们是被OpenSSL的请求签名实体所忽略了的,但是一些CA有可能需要他们。 B<distinguished_name>:这个指定了包含distinguished名字域,当产生一个证书或证书请求时,有提示...