Create Self-Signed certificate with PowerShell

Use the attached PowershellScript. Make modifications as needed before running it.

An easy way to generate a self-signed certificate online

You can generate a self-signed certificate online here:

http://www.selfsignedcertificate.com/

This will generate a two files – a certificate and a key.

If you are using IIS server you need to convert these to .pfx. For this you can use the SSL Converter here:

https://www.sslshopper.com/ssl-converter.html