Fixes certificate subject name fetching

This commit is contained in:
Christian Stein 2020-03-25 07:48:55 +01:00
parent 691faadf87
commit 9831e9319c

View file

@ -21,7 +21,7 @@ function Get-IcingaAgentHostCertificate()
return @{
'CertFile' = $CertPath;
'Subject' = $Certificate.SubjectName;
'Subject' = $Certificate.Subject;
'Thumbprint' = $Certificate.Thumbprint;
};
}