Alexander A. Klimov ced2573b3e GetCertificateCN(): if the CN is missing, fall back to the DNS SAN
if exactly one is given and use it as CN.

Currently Icinga 2 populates both the DNS SAN and the subject CN of a newly
issued certificate with the endpoint name. But the CN is limited to 64
characters. So endpoint names are. The only clean solution is omitting the
CN for too long names. Icinga 2 must be able to extract the endpoint name
from such certificates in the first place and exactly one DNS SAN is a legit
source.
2025-04-29 11:25:00 +02:00
..
2023-01-27 11:36:09 +01:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2023-12-13 16:02:50 +01:00
2023-12-13 16:02:50 +01:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2025-01-07 18:20:54 +01:00
2021-09-23 16:08:11 +02:00
2021-09-23 16:08:11 +02:00
2021-09-23 16:08:11 +02:00
2019-05-24 16:25:32 +02:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2025-03-18 11:22:56 +01:00
2023-05-17 18:05:13 +02:00
2019-11-08 11:13:26 +01:00
2023-04-04 13:40:27 +02:00
2021-02-03 09:54:57 +01:00
2021-02-03 09:54:57 +01:00
2021-02-03 09:54:57 +01:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00