创建证书时遇到的"Error adding attribute"



当我创建OpenSSL证书时,我被要求输入其他属性,例如国家/地区代码,州或省名称,组织,组织单位名称和公用名。输入所有这些后,我被要求输入通用名称和电子邮件地址。我已经进去了。我输入如下

Country Name (2 letter code) [AU]:in
State or Province Name (full name) [Some-State]:tamilnadu
Locality Name (eg, city) []:coimbatore
Organization Name (eg, company) [Internet Widgits Pty Ltd]:abc
Organizational Unit Name (eg, section) []:abcd
Common Name (eg, YOUR name) []:xxxx

在此之后,我被要求输入密码,我也输入了密码。 如下所示:

Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:123ytrewq

完成上述步骤后,如果我按回车键生成证书,则会发生以下错误。

 Error adding attribute
7532:error:0D0BA041:asn1 encoding routines:ASN1_STRING_set:malloc failure:./cryp
to/asn1/asn1_lib.c:381:
7532:error:0B08A041:x509 certificate routines:X509_ATTRIBUTE_set1_data:malloc fa
ilure:./crypto/x509/x509_att.c:317:
problems making Certificate Request

谁能帮我? 提前感谢

这是一个

OpenSSL 0.9.8h有关的问题。使用更高版本(如 v1.1.0f)可以解决此问题。

最新更新