Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Use PowerShell to Create Self-Signed Certificate

$
0
0

Summary: Use Windows PowerShell in Windows 8.1 to create a self-signed certificate.

Hey, Scripting Guy! Question How can I create a self-signed certificate in Windows 8.1 for testing purposes?

Hey, Scripting Guy! Answer Use the New-SelfSignedCertificate function from the PKI module,
          and specify DNSName and a certificate store location:

New-SelfSignedCertificate -DnsName www.nwtraders.com -CertStoreLocation Cert:\LocalMachine\My

Note  This function requires that you start the Windows PowerShell console with admin rights.


Viewing all articles
Browse latest Browse all 3333

Trending Articles