Vadims Podans
Vadims Podans
PSPKI 3.7.2 - Get-CertificateRequest - Input data does not represent valid 'OBJECT_IDENTIFIER' type.
thanks, received. I will investigate this.
PSPKI 3.7.2 - Get-CertificateRequest - Input data does not represent valid 'OBJECT_IDENTIFIER' type.
No, the problem is somewhere else. Your request is PKCS10, however the code incorrectly detects it as PKCS7 and attempts to unroll PKCS7 syntax.
PSPKI 3.7.2 - Get-CertificateRequest - Input data does not represent valid 'OBJECT_IDENTIFIER' type.
> Maybe I found the error myself. > One of the subject alternative names is bogus. It begins with a "." yeah, you were right. The problem was with leading...
Next two months I will be very busy, but I will put this in my ToDo list. I think, there will be two versions: 1) cross-platform with PKCS#1/PKCS#8 key storage...
Yes, I'm considering this as well. In next version, I'm going to revisit existing GitHub items and work on them.
Please, upgrade to latest version [3.7.2](https://www.powershellgallery.com/packages/PSPKI/3.7.2) and see if issue still persists.
[SysadminsLV.PKI.zip](https://github.com/PKISolutions/PSPKI/files/5116390/SysadminsLV.PKI.zip) can you try this PKI library (replace in Library folder) and confirm if it does work for you. It seems that `DirectoryEntry.ObjectSecurity` property setter doesn't properly handle new security...
I just tried this and it works for me: installed module from PS gallery, replaced `SysadminsLV.PKI.dll` library from zip archive and module is imported successfully.
Just curious: when you extracted the DLL, did you unblock the file in Windows Explorer?
and what is your execution policy? The DLL is test and not digitally signed.