Bug #338

Support of multiple Common Names in Certification Authority ACF

Added by iilluzion _ almost 2 years ago. Updated 4 months ago.

Status:New Start date:03/26/2010
Priority:Normal Due date:
Assignee:Ted Trask % Done:

0%

Category:ACF
Target version:Alpine 2.4.0

Description

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

History

Updated by Natanael Copa almost 2 years ago

  • Category set to ACF
  • Assignee set to Ted Trask
  • Target version set to Alpine 2.0.0

Updated by Natanael Copa over 1 year ago

  • Target version changed from Alpine 2.0.0 to Alpine 2.1.0

Updated by Natanael Copa over 1 year ago

  • Target version changed from Alpine 2.1.0 to Alpine 2.2.0

Updated by Ted Trask 11 months ago

This new feature would require quite a bit of rewriting because certs are currently identified by common name. Not sure if / when this will be done.

Updated by Natanael Copa 10 months ago

  • Target version changed from Alpine 2.2.0 to Alpine 2.3.0

Updated by Ted Trask 4 months ago

  • Target version changed from Alpine 2.3.0 to Alpine 2.4.0

Also available in: Atom PDF