New-SelfSignedCertificate -ExistingKey "c:\cts_privkey.pem" -Container localhost -Provider "Microsoft Enhanced RSA and AES cryptographic Provider" -DnsName "example.com" -CertStoreLocation "cert:\LocalMachine\My"
I think I am using the commandlet incorrectly