Project

General

Profile

Actions

Feature #13710

open
JP

Support UTF-8 CA/Certificate subject components

Feature #13710: Support UTF-8 CA/Certificate subject components

Added by Jim Pingle almost 4 years ago. Updated 3 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Certificates
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
26.10
Release Notes:
Default

Description

Some support was added for UTF-8 CA/Certificate fields in #12041 but it isn't complete.

The backend seems to handle UTF-8 in the CN at least, and likely in other fields. Might need to experiment with how/when to use utf8_encode() and utf8_decode() if needed at various times. Quick test of disabling input validation showed that a CA with a CN of møøsë-ca could be created and caused no errors, but some of its components did not display properly in the cert info block.

There are several items to address:

  • Input validation needs relaxed on subject components to allow UTF-8 characters while also preventing characters which are not valid in those fields (CN, org/location fields, SANs)
  • Certain UTF-8 characters are not displayed properly, but running the DN string through utf8_encode() helps. e.g. Creating a CA with a common name of møøsë-ca fails to display properly
  • The method used for handling \x style UTF-8 strings in #12041 also needs to be done for other subject components, in particular the Authority Key ID does not display properly
  • Other areas of the GUI which display and/or utilize CA/Cert subjects or components also need to be checked for similar issues (e.g. cert-based IPsec identifiers)

And potentially more points along those lines that may be revealed during testing and development.

JP Updated by Jim Pingle over 3 years ago Actions #1

  • Plus Target Version changed from 23.05 to 23.09

JP Updated by Jim Pingle about 3 years ago Actions #2

  • Target version changed from 2.7.0 to CE-Next

JP Updated by Jim Pingle about 3 years ago Actions #3

  • Plus Target Version changed from 23.09 to 24.01

We have enough to worry about with OpenSSL 3.x changes in this release, best not to complicate cert changes any further. Moving ahead.

JP Updated by Jim Pingle almost 3 years ago Actions #4

  • Plus Target Version changed from 24.01 to 24.03

JP Updated by Jim Pingle over 2 years ago Actions #5

  • Plus Target Version changed from 24.03 to 24.07

JP Updated by Jim Pingle over 2 years ago Actions #6

  • Plus Target Version changed from 24.07 to 24.08

JP Updated by Jim Pingle almost 2 years ago Actions #7

  • Plus Target Version changed from 24.08 to 24.11

JP Updated by Jim Pingle almost 2 years ago Actions #8

  • Plus Target Version changed from 24.11 to 25.01

JP Updated by Jim Pingle almost 2 years ago Actions #9

  • Plus Target Version changed from 25.01 to 25.03

JP Updated by Jim Pingle over 1 year ago Actions #10

  • Plus Target Version changed from 25.03 to 25.07

JP Updated by Jim Pingle about 1 year ago Actions #11

  • Plus Target Version changed from 25.07 to 25.11

JP Updated by Jim Pingle 10 months ago Actions #12

  • Plus Target Version changed from 25.11 to 26.03

JP Updated by Jim Pingle 7 months ago Actions #13

  • Plus Target Version changed from 26.03 to 26.07

JP Updated by Jim Pingle 3 months ago Actions #14

  • Plus Target Version changed from 26.07 to 26.11

JP Updated by Jim Pingle 3 months ago Actions #15

  • Plus Target Version changed from 26.11 to 26.10
Actions

Also available in: Atom