$password = ConvertTo-SecureString -AsPlainText –Force We need to protect our certificate with a password, which we need to store as a secure string. $cert = get-childitem cert:\localmachine\my | where Make a note of the thumbprint from your new certificate, as we will need that in our next command.įirst, we can store our certificate in a variable. We will need to install this certificate on our GUI server. Now this certificate is self-signed, so our GUI server won't trust it. New-SelfSignedCertificate -DnsName ‑CertStoreLocation cert:\localmachine\my ![]() Using this post as a guide, we can set up a self-signed certificate and assign it to a WinRM listener. You should receive no output for this, and this means you have no certificates installed on the machine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |