Quantcast
Channel: Public Key Infrastructure PowerShell module
Viewing all articles
Browse latest Browse all 729

Closed Unassigned: exception call by ".ctor" with 1 argument [52]

$
0
0
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

Viewing all articles
Browse latest Browse all 729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>