Project

General

Profile

Actions

Task #3074

closed

Possibility to choose the format of the subject (CN)

Added by David Štekl almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Roman Kučera
Target version:
Start date:
03/15/2022
Due date:
% Done:

100%

Estimated time:
Owner:

Description

currently, it is not possible to select the CN (Subject in IdM) format. For newly generated certificates is always CN generated in the format: Firstname Surname.

The goal of the ticket is to allow format selection using the configuration property. At least a choice between Firstname Surname and userName.

Actions #1

Updated by Roman Kučera almost 3 years ago

  • Status changed from New to In Progress
  • Assignee set to Roman Kučera
Actions #2

Updated by Roman Kučera almost 3 years ago

  • Target version set to 2.5.0
Actions #3

Updated by Roman Kučera over 2 years ago

  • % Done changed from 0 to 80
Implementation in https://git.bcvsolutions.eu/modules/crt/-/commits/3074-configure-cn-format
If the authority supports it, you can select from predefined options
  • Firstname Lastname
  • Lastname Firstname
  • Username
  • titlesBefore Firstname Lastname titlesAfter
  • Email
  • Script

Predefined options are with diacritics for now.

If you choose script options you need to pick some script from selectbox under this one.
The script will receive IdmIdentityDto of the owner and needs to return String value which will be used as CN.

Actions #4

Updated by Roman Kučera over 2 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Roman Kučera to Tomáš Doischer
  • % Done changed from 80 to 90

added options without diacritics to

@doischert please can you make a review?

Actions #5

Updated by Tomáš Doischer over 2 years ago

  • Assignee changed from Tomáš Doischer to Roman Kučera
  • % Done changed from 90 to 100

LGTM, thank you.

Actions #6

Updated by Roman Kučera over 2 years ago

  • Status changed from Needs feedback to Closed

released

Actions

Also available in: Atom PDF