Get-HPEpscCerts

Summary

Retrieves HP Endpoint Security Controller Certificates

Syntax

Get-HPEpscCerts [[-InFile] <String>] [<CommonParameters>]

Get-HPEpscCerts [[-OutFile] <String>] [<CommonParameters>]

Description

This command retrieves three HP Endpoint Security Controller certificates as an object with a 3x2 array that includes the name of each certificate and a System.Security.Cryptography.X509Certificates.X509Certificate2 object for each.


**DEPENDENCY**: HP Endpoint Security Controller Gen5 is required if certificates are being retrieved from EpSC on the current platform.

Parameters

NameArgumentDescription
InFile<String>If this parameter is present, the three HP EpSC certificates will be loaded from the specified PEM format file instead of loading from the current system. This parameter is optional and mutually exclusive with -OutFile.
OutFile<String>If this parameter is present, the HP EpSC certificates (whether retrieved from the current system's EpSC or loaded from an input file) will be saved to the specified file name in PEM format. This parameter is optional and mutually exclusive with -InFile.

Examples

PS C:\> Get-HPEpscCerts
PS C:\> Get-HPEpscCerts -OutFile "HP EpSC Certificates.pem"
PS C:\> Get-HPEpscCerts -InFile "HP EpSC Certificates.pem"

Notes

  • **DEPENDENCY**: HP Endpoint Security Controller Gen5 is required if certificates are being retrieved from EpSC on the current platform
  • This command requires an HP system with Endpoint Security Controller (EpSC) support- When extracting from EpSC, the command requires appropriate system permissions
  • PEM format files should contain the certificates in standard PEM encoding format