Support of multiple Common Names in Certification Authority ACF
After adding support of multiple common names to /etc/ssl/openssl-ca-acf.cnf using https://<server_name>/acf/cgi-bin/acf/openssl/openssl/editconfigfile as follows:
...
[ req_distinguished_name ]
...
#commonName = Common Name (eg, the certificate CN)
#commonName_max = 64
#commonName_default=
0.commonName = Common Name (eg, the certificate CN)
0.commonName_max = 64
0.commonName_default=
1.commonName = Common Name (eg, the certificate CN)
1.commonName_max = 64
1.commonName_default=
2.commonName = Common Name (eg, the certificate CN)
2.commonName_max = 64
2.commonName_default=
...
After requesting a certificate an application return the following error:
/usr/share/acf/app//openssl/openssl-model.lua:362: attempt to index field 'commonName' (a nil value) stack traceback: /usr/share/acf/app//openssl/openssl-model.lua:362: in function </usr/share/acf/app//openssl/openssl-model.lua:358> (tail call): ? /usr/share/acf/lib//controllerfunctions.lua:69: in function </usr/share/acf/lib//controllerfunctions.lua:63> (tail call): ? /usr/share/acf/app/./acf_www-controller.lua:468: in function </usr/share/acf/app/./acf_www-controller.lua:387> [C]: in function 'xpcall' /usr/share/acf/app/./acf_www-controller.lua:387: in function 'dispatch' [string "/var/www/domains//blr.wtbts.net/www/acf/cgi..."]:18: in main chunk
(from redmine: issue id 338, created on 2010-03-26, closed on 2013-05-03)