Closed hkelley closed 6 months ago
PKI.OCSP.OCSPRequest
is replaced with SysadminsLV.PKI.OcspClient.OCSPRequest
. Semantic is unchanged. It was part of PSPKI 4.0.0 underlying library overhaul: https://www.pkisolutions.com/tools/pspki/release-notes-for-pspki-v400/
Sorry I missed that in the release notes. This works:
$cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2 $testCerFile
$request = New-Object SysadminsLV.PKI.OcspClient.OCSPRequest $cert
$result = $request.SendRequest()
$certStatus = $result.Responses[0].CertStatus
As recently as v3.7.2, the cmdlets exposed this namespace:
This let us do things like the following. Is there a 4.x equivalent?