From 93e4f6781334e6377346ef5fc6334da13dbfa28b Mon Sep 17 00:00:00 2001 From: Andy Beverley Date: Mon, 7 Oct 2024 11:05:53 +0100 Subject: [PATCH] Also return certificate common name --- lib/Brass/Schema/Result/Cert.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Brass/Schema/Result/Cert.pm b/lib/Brass/Schema/Result/Cert.pm index 491e96e..c3197de 100644 --- a/lib/Brass/Schema/Result/Cert.pm +++ b/lib/Brass/Schema/Result/Cert.pm @@ -156,6 +156,7 @@ sub _as_hash content_cert => $self->content_cert =~ s/(.+)\v*$/$1\n/r, content_key => $self->content_key =~ s/(.+)\v*$/$1\n/r, content_ca => $self->content_ca =~ s/(.+)\v*$/$1\n/r, + cn => $self->cn, }; }