Every now and then I have to create X509 certificates for SAML 2.0 based IdP. I use Windows 7 to generate these certificates. But the problem I usually face is that most of the instructions I find out there are geared towards Windows XP or Windows Server which doesn't work for me.
I have compiled the following instructions which will work for any Windows OS.
This is end to my Google search for finding instructions for generating X509 certificates on Windows 7:
- Open command prompt as Admin
- Create Certificate and Private Key files
- makecert -r -pe -sky exchange -n "cn=www.idp.com" -sv idp.pvk idp.cer
- Convert the PVK file to a PFX file
- pvk2pfx -pvk idp.pvk -spc idp.cer -pfx idp.pfx -po password –f
- Install .cer file in personal store
- Export the newly installed certificate from personal store to Base64 format, using MMC
- Open the certificate in notepad and put it in metadata file if you have to.
No comments:
Post a Comment
Your comments are highly appreciated!