Skip to content

Handle an empty "subjectAltName" field for X.509 certificates

Vasilii Iakliushin requested to merge 458461_fix_missing_subject_alt_name into master

What does this MR do and why?

Contributes to #458461 (closed)

Problem

It's possible to create a signature with missing subjectAltName. The application silently fails.

Solution

Verify that subjectAltName is present.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before Empty subjectAltName With email in subjectAltName
Screenshot_2024-05-08_at_11.13.03 Screenshot_2024-05-08_at_11.14.01 Screenshot_2024-05-08_at_11.14.19
Edited by Vasilii Iakliushin

Merge request reports

Loading