Hi there,
i´m running into an error getting crl nextupdate info.
I would like to get the expiration date from our offline ca.
I downloaded our crl and run the get.crl command against.
I get an erro thrown with:
New-Object : Exception calling ".ctor" with "1" argument(s): "Object reference not set to an instance of an object."
In C:\windows\system32\windowspowershell\v1.0\Modules\PSPKI\Client\Get-CertificateRevocationList.ps1:23 Zeichen:4
+ New-Object Security.Cryptography.X509Certificates.X509CRL2 -ArgumentList $Pat ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [New-Object], MethodInvocationException
+ FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.PowerShell.Commands.NewObjectCommand
calling a stacktrace brings me this:
$error[0].exception.innerexception.stacktrace
at System.Security.Cryptography.X509Certificates.X509CRL2.get_type()
at System.Security.Cryptography.X509Certificates.X509CRL2.m_import(Byte[] rawData)
at System.Security.Cryptography.X509Certificates.X509CRL2..ctor(String path)
Any idea for thisß
Thanks in advance
Thomas
Comments: fixed in v3.0
i´m running into an error getting crl nextupdate info.
I would like to get the expiration date from our offline ca.
I downloaded our crl and run the get.crl command against.
I get an erro thrown with:
New-Object : Exception calling ".ctor" with "1" argument(s): "Object reference not set to an instance of an object."
In C:\windows\system32\windowspowershell\v1.0\Modules\PSPKI\Client\Get-CertificateRevocationList.ps1:23 Zeichen:4
+ New-Object Security.Cryptography.X509Certificates.X509CRL2 -ArgumentList $Pat ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [New-Object], MethodInvocationException
+ FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.PowerShell.Commands.NewObjectCommand
calling a stacktrace brings me this:
$error[0].exception.innerexception.stacktrace
at System.Security.Cryptography.X509Certificates.X509CRL2.get_type()
at System.Security.Cryptography.X509Certificates.X509CRL2.m_import(Byte[] rawData)
at System.Security.Cryptography.X509Certificates.X509CRL2..ctor(String path)
Any idea for thisß
Thanks in advance
Thomas
Comments: fixed in v3.0