Summary: Use Windows PowerShell in Windows 8.1 to create a self-signed certificate.
How can I create a self-signed certificate in Windows 8.1 for testing purposes?
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.