Enhancement #2650

Customizable X509 email field

Added by Davide Principi almost 6 years ago. Updated almost 6 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-base
Target version:v6.5-rc1
Resolution: NEEDINFO:No

Description

The email field in X509 subject should be customizable as other fields (Company, Department, CommonName...)

The default must be admin@FQDN to avoid regeneration of existing certificates, though admin mail alias does not exist by default.


Related issues

Related to NethServer 6 - Enhancement #2626: Implement hostname-modify event for samba CLOSED

Associated revisions

Revision b25ade3b
Added by Davide Principi almost 6 years ago

Use pki/EmailAddress prop to set emailAddress X.509 field. Refs #2650

Use admin@FQDN as default value, for backward compatibility.

History

#1 Updated by Davide Principi almost 6 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Davide Principi
  • % Done changed from 20 to 30

#2 Updated by Davide Principi almost 6 years ago

  • Status changed from ON_DEV to MODIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 30 to 60

Test case

Before upgrade:

    # /usr/libexec/nethserver/pki-gencrt -s
subject=/C=--/ST=SomeState/L=SomeCity/O=XYZ srl/OU=SomeDepartment/CN=hostname.internal.lan/emailAddress=root@hostname.internal.lan

After upgrade:

    # /usr/libexec/nethserver/pki-gencrt -s
subject=/C=--/ST=SomeState/L=SomeCity/O=XYZ srl/OU=SomeDepartment/CN=hostname.internal.lan/emailAddress=admin@hostname.internal.lan

Set pki/EmailAddress prop:

    # config setprop pki EmailAddress test@example.com
    # /usr/libexec/nethserver/pki-gencrt -s
subject=/C=--/ST=SomeState/L=SomeCity/O=XYZ srl/OU=SomeDepartment/CN=hostname.internal.lan/emailAddress=test@example.com

#3 Updated by Davide Principi almost 6 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70

In nethserver-testing:
nethserver-base-2.0.0-4.0gitb25ade3b.ns6.noarch.rpm

#4 Updated by Davide Principi almost 6 years ago

  • Assignee set to Massimo Palazzetti

#5 Updated by Massimo Palazzetti almost 6 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Massimo Palazzetti)
  • % Done changed from 70 to 90

#6 Updated by Davide Principi almost 6 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

In nethserver-updates :
(branched b2650) nethserver-base-2.0.1-1.ns6.noarch.rpm

Also available in: Atom PDF