Powershell makes generating a new self-signed certificate quite easy. With one simple command, you can have one installed on your machine. A PFX file can be exported for other usages.
Creates a new self-signed certificate
You need to run PowerShell as an administrator, otherwise it will throw an “Access denied” error.