Project

General

Profile

Actions

Bug #12041

closed

Certificate Manager shows incorrect DN for imported entries with UTF-8 encoding

Added by Viktor Gurov over 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Viktor Gurov
Category:
Certificates
Target version:
Start date:
06/15/2021
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
22.01
Release Notes:
Default
Affected Version:
2.5.1
Affected Architecture:

Description

If you import a certificate containing UTF8 encoding into certificate manager,
it shows escaped unicode characters in the "DN:" field:

emailAddress=envek@envek.name, OU=Моё подразделение, O=Моя компания, L=Москва, CN=Описание сайта, C=RU 
Serial: 6
Signature Digest: RSA-SHA256
KU: Digital Signature, Non Repudiation, Key Encipherment
EKU: TLS Web Client Authentication
DN: /CN=\xD0\x9E\xD0\xBF\xD0\xB8\xD1\x81\xD0\xB0\xD0\xBD\xD0\xB8\xD0\xB5 \xD1\x81\xD0\xB0\xD0\xB9\xD1\x82\xD0\xB0/emailAddress=envek@envek.name/O=\xD0\x9C\xD0\xBE\xD1\x8F \xD0\xBA\xD0\xBE\xD0\xBC\xD0\xBF\xD0\xB0\xD0\xBD\xD0\xB8\xD1\x8F/OU=\xD0\x9C\xD0\xBE\xD1\x91 \xD0\xBF\xD0\xBE\xD0\xB4\xD1\x80\xD0\xB0\xD0\xB7\xD0\xB4\xD0\xB5\xD0\xBB\xD0\xB5\xD0\xBD\xD0\xB8\xD0\xB5/L=\xD0\x9C\xD0\xBE\xD1\x81\xD0\xBA\xD0\xB2\xD0\xB0/C=RU
Hash: 71bfb10c
Subject Key ID: 26:6F:0B:6B:85:B5:D4:8F:AB:AB:AD:0E:80:EA:49:BB:F5:8B:E3:53
Authority Key ID: keyid:59:66:84:DF:57:6C:38:7C:90:08:D6:EC:80:52:33:17:09:A2:78:4A
DirName:/CN=freeradius-temp-ca
serial:4C:26:59:A6:8B:3B:88:0B


Files

Screenshot from 2021-06-15 17-28-24.png (87.9 KB) Screenshot from 2021-06-15 17-28-24.png Viktor Gurov, 06/15/2021 09:28 AM
unicodecert.crt (1.46 KB) unicodecert.crt Viktor Gurov, 06/15/2021 09:28 AM
Actions

Also available in: Atom PDF