-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PKI.OCSP.OCSPRequest class is failing on PowerShell 5 #16
Comments
Hey thanks for fixing this 👍 is there any compiling instructions? Or should I wait until the next release? |
Well, you can wait until next PSPKI release, or compile it yourself. You will need to take this branch: https://github.com/Crypt32/pkix.net/tree/v3.2.7.0-vNext External libraries you will need to reference are placed in |
After attempting to test the example above I get an error when attempting to create the request. Now, I must admit, I am a domain member in a tightly locked down environment. The OS is Win10. PS C:\scripts> ipmo pspki Thumbprint Subject 371DF399B6D85803795416E492D978206500DDCF CN=*.login.live.com PS P:\Backups\L6001173\D\RSCs Documents\Source Code\Scripts> $Request = New-Object pki.ocsp.ocsprequest $cert
|
You may need to use this where first parameter accepts a collection of end-entity certificates (1 in your case) and issuer certificate. |
Looks like 3.7.2 may be experiencing issues with this request again. Test-WebServerSSL does not seem to be returning anything for the certificate property in some cases when downloading the cert via a URL. Rather, certificate details are returned in the pkcs7chain property. This does not seem to be the case for all certificates returned via a URL. Is there any workaround for this situation? thanks |
@SinnGit please, open your own issue and describe your problem. |
Expected behavior
Perform a OCSP request/response using PKI.OCSP.OCSPRequest class.
Actual behavior
When creating object with PKI.OCSP.OCSPRequest class, it is unable to retrieve RawData and RequestList attributes. Calling the SendRequest() method fails.
Steps to reproduce
The text was updated successfully, but these errors were encountered: