Skip to content

Instantly share code, notes, and snippets.

@awithy
Created January 26, 2012 17:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save awithy/1683865 to your computer and use it in GitHub Desktop.
Save awithy/1683865 to your computer and use it in GitHub Desktop.
makecert
> makecert -r -pe -a sha1 -n “CN=My Certificate Name” -ss My -len 2048 -sp “Microsoft Enhanced RSA and AES Cryptographic Provider” -sy 24 CertificateFilename.cer
> makecert -r -pe -n “CN=My Certificate Name” -sky exchange “CertificateFilename.cer” -sv “CertificateFilename.pvk”
> pvk2pfx -pvk “CertificateFilename.pvk” -spc “CertificateFilename.cer” -pfx “CertificateFilename.pfx” -pi CERTIFICATE_PASSWORD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment