PowerTip: Use PowerShell to Create Self-Signed Certificate

Dr Scripto

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.

0 comments

Comments are closed. Login to edit/delete your existing comments