Project

General

Profile

Actions

Bug #8381

closed

Cert manager requires fields that aren't necessary

Added by Justin Coffman over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Certificates
Target version:
Start date:
03/19/2018
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:
All

Description

Attempting to generate a CA or certificate via the cert management tool in the web GUI yields the following error:

"The field Distinguished name Email Address is required."

The emailAddress field is not required in any X.509v3-compliant certificate, unless that certificate is intended for use as an email signing certificate. According to RFC 5280, only a certificate intended to authenticate an email address (such as an email signing certificate) should include an email address at all, and even then, it must be done as an RFC822Name entry under the Subject Alternative Name extension.

Conforming implementations generating new certificates with electronic mail addresses MUST use the rfc822Name in the subject alternative name extension (Section 4.2.1.6) to describe such identities. Simultaneous inclusion of the emailAddress attribute in the subject distinguished name to support legacy implementations is deprecated but permitted.

In fact, the ONLY attribute that is mandatory for the DistinguishedName field in a certificate is the CommonName attribute. All other attributes should be made optional in the web GUI.

Actions #1

Updated by Justin Coffman over 6 years ago

Clarifying that last line:

RFC 3280 defines how the subject of a certificate or CA must be specified. Ideally, the web GUI would include logic to handle an RFC-compliant combination of cases, but reviewing section 4.1.2.6 gives the idea that this may be overly complicated. More reasonable would be to make the CommonName attribute required, and all others optional.

Actions #2

Updated by Jim Pingle over 6 years ago

  • Status changed from New to Assigned
  • Assignee set to Jim Pingle
  • Target version set to 2.4.4
  • Affected Version changed from 2.4.2_1 to All
  • Affected Architecture added
  • Affected Architecture deleted (amd64)
Actions #3

Updated by Justin Coffman over 6 years ago

FYI: RFC 5280 obsoletes RFC 3280, but provides the same guidance. I wasn't consistent previously, my apologies.

Actions #4

Updated by Jim Pingle over 6 years ago

  • Status changed from Assigned to Feedback
  • % Done changed from 0 to 100
Actions #5

Updated by Jim Pingle over 6 years ago

  • Status changed from Feedback to Assigned
  • % Done changed from 100 to 80
  • Affected Architecture All added
  • Affected Architecture deleted ()

Still needs accounted for in the OpenVPN wizard.

Actions #6

Updated by Jim Pingle over 6 years ago

  • Status changed from Assigned to Feedback
  • % Done changed from 80 to 100
Actions #7

Updated by Anonymous over 6 years ago

On 2.4.4.a.20180720.1408, the only required field is common name to create a certificate. It is now possible to create a certificate via System > Certificate Manager and through the OpenVPN Wizard, providing only a common name.

Actions #8

Updated by Jim Pingle over 6 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF