mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-20 23:00:35 -05:00
Fixes certificate subject name fetching
This commit is contained in:
parent
691faadf87
commit
9831e9319c
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ function Get-IcingaAgentHostCertificate()
|
||||||
|
|
||||||
return @{
|
return @{
|
||||||
'CertFile' = $CertPath;
|
'CertFile' = $CertPath;
|
||||||
'Subject' = $Certificate.SubjectName;
|
'Subject' = $Certificate.Subject;
|
||||||
'Thumbprint' = $Certificate.Thumbprint;
|
'Thumbprint' = $Certificate.Thumbprint;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue