You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
@freddydk OP's link doesn't point to an actual "self-signed" certificate despite their description.
Instead it points to using something like a "domain signed" certificate or some other private CA.
@Fareroo7 We'd need more information than just that command.
But if you're following that HowTO I had to include -useSSL in addition to the script; it's needed to call the script after all.
And you need to load a PFX into \My because the service tier needs access to the private key (which is likely protected by a password).
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:
The text was updated successfully, but these errors were encountered: