Skip to content

Instantly share code, notes, and snippets.

@petermreid
Created June 25, 2014 10:52
Show Gist options
  • Save petermreid/573da2b83ccca9f92be8 to your computer and use it in GitHub Desktop.
Save petermreid/573da2b83ccca9f92be8 to your computer and use it in GitHub Desktop.
Makecert create secure certificate from CA
"C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makecert" -pe -n "CN=tenant.sharepointonline.com" -a sha1 -sky Exchange -eku 1.3.6.1.5.5.7.3.1 -ic CA.cer -iv CA.pvk -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12 -sv tenant.sharepointonline.com.pvk tenant.sharepointonline.com.cer
"C:\Program Files (x86)\Windows Kits\8.1\bin\x64\pvk2pfx" -pvk tenant.sharepointonline.com.pvk -spc tenant.sharepointonline.com.cer -pfx tenant.sharepointonline.com.pfx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment