Quantcast
Channel: /r/powershell – How to Code .NET
Viewing all articles
Browse latest Browse all 8793

Install certificate for IIS on remote server using account instead of password.

$
0
0

So the idea is that currently I can use Invoke-Command to import an PFX Certificate using:

Import-PFXCertificate -FilePath "foo" -Password $securePwd 

I’m wondering, is it possible to import this same certificate without the use of a password at all, but rather by just having the install service / user given the appropriate access to install the cert? I’ve noticed something that would seem to indicate that on the certificate export, but that hasn’t gotten me anywhere (even when exporting the cert so “Everyone” has access).

submitted by /u/Javin007
[link] [comments]

The post Install certificate for IIS on remote server using account instead of password. appeared first on How to Code .NET.


Viewing all articles
Browse latest Browse all 8793

Trending Articles