Import .pfx certificate into currentuser from Build server (Powershell)

0

I am trying to import to current user from build server. But its failing

Import-PfxCertificate -FilePath "C:\users\File.pfx" -CertStoreLocation Cert:\CurrentUser\My -Password $Cred.Password

error - Import-PfxCertificate : Access denied. (Exception from HRESULT: 0x80090010) Note - Before running command, I have given user & password parameters in powershell

Please help me. Last few days I am struggling Thank You

powershell
certificate
asked on Stack Overflow Sep 10, 2020 by Millie_2210 • edited Sep 10, 2020 by Millie_2210

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0