patrickpr / YAOG

Yet Another Openssl GUI : Qt based openssl GUI to create CSR, certificates, keys (RSA / DSA / EC)
GNU General Public License v3.0
109 stars 11 forks source link

Impossible generate certs #12

Closed brothercorvo closed 3 years ago

brothercorvo commented 3 years ago

Whatever configuration I select I get an error similar to: Lib : asn1 encoding routines, doing : ASN1_mbstring_ncopy, reason : string too long (13/122/151)

patrickpr commented 3 years ago

Hi,

Did you check this : Issue #7 ?

Can you provide a screenshot of the configuration that generates this error ?

Regards,

Patrick

brothercorvo commented 3 years ago

here you go. It is the quantity of text that you have in subject image

patrickpr commented 3 years ago

Hi,

Country is limited to two caracters : it is supposed to be like Internet TLD, and in this case put 'ca' or 'CA'. Reference : X520countryName defined in RFC5280 using codes from ISO 3166

Tell me if this works better.

Regards

brothercorvo commented 3 years ago

Ok that solved the issue. Probably would be good to limit the text input to 2 chars.