Vadims Podans

Results 214 comments of Vadims Podans

I just checked the code: mentioned line fails immediately if you are not part of domain. If you are part of domain, but disconnected -- the delay is inevitable. It...

I think, this commit should do the work, though haven't tested: https://github.com/PKISolutions/PSPKI/commit/0b8764b89a686b248b338aa0f5b12765d10a7fb5 In the `else` clause I mimic `Connect-CertificationAuthority` command by attempting to reach local CA. This means that in...

That's interesting, because it should use first constructor: https://github.com/PKISolutions/pkix.net/blob/f77ec6d1e4d23ac87a6a427b835724839b10f856/PKI/Utils/ServiceOperationResult.cs#L15. Maybe, HResult property is not available in exception?

I will take a look into this.

Hi, I've tried to repro the issue by using an account that has Read permissions on CA and doesn't have "Manage Certificates" and it works fine for me: ``` PS...

> Is this still by design and will I have to manage this through the mmc? it is by design, a limitation of API. What you can try is to...

Sorry, I don't have an answer to this question. I'm still researching this. MMC uses some hidden APIs which aren't documented. I was able to track down to DLLs used...

You can fix it yourself until next version. Update this line in [Submit-CertificateRequest](https://github.com/PKISolutions/PSPKI/blob/650e590b5fb8953dc891844f9f8250cde7fce09c/PSPKI/Client/Submit-CertificateRequest.ps1#L70) file: ```PowerShell $Request = [IO.File]::ReadAllText((Resolve-Path $_).Path) ``` to this: ```PowerShell $Request = [IO.File]::ReadAllText((Resolve-Path $_).ProviderPath) ```

Sounds like the key was loaded into key storage provider. KSP is not yet supported, because the code wasn't updated in a while. As workaround, you can modify `Convert-PfxToPem.ps1` file...