-
Notifications
You must be signed in to change notification settings - Fork 90
Open
Description
I want to use self-signed certificates, like described here: HOWTO
When I try to run this command:
Import-Certificate -FilePath C:\Run\my\certs\tls.crt -CertStoreLocation Cert:\LocalMachine\My\
the following error occurs:
Import-Certificate : Error HRESULT E_FAIL has been returned from a call to a COM component.
At line:1 char:1
+ Import-Certificate -FilePath C:\Run\my\certs\tls.crt -CertStoreLocati ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Import-Certificate], COMException
+ FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Microsoft.CertificateServices.Commands.ImportCertificateCommand
Metadata
Metadata
Assignees
Labels
No labels