Get pfx certificate information.
Pfx = Personal Information Exchange, each .pfx file includes both a certificate and a private key.
Syntax Get-PfxCertificate [-filePath] string [CommonParameters] Key -filePath The full path to the .pfx file of the secured file. (may be piped) CommonParameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -WarningAction, -WarningVariable, -OutBuffer -OutVariable.
When the .pfx certificate file is not password-protected, the value of the Authentication parameter of Invoke-Command must be "CredSSP".
Get information about the ss64.pfx certificate:
PS C:\> get-pfxcertificate -filepath C:\windows\system32\ss64.pfx
"Those were the days when men were real men, when women were real women, when small, blue, fuzzy creatures from Alpha Centauri were real small, blue, fuzzy creatures from Alpha Centauri" ~ Douglas Adams
Get-AuthenticodeSignature - Get the signature object associated with a file
Set-AuthenticodeSignature - Place a signature in a .ps1 script or other file
Pvk2pfx.exe - SDK tool to copy public/private key information from .spc, .cer, and .pvk files to a .pfx file.
Equivalent bash commands: build-ca (Easy RSA)
© Copyright SS64.com 1999-2013
Some rights reserved