I am working on the SAML authentication for our Mobile app,
get some resource to build my test SAML Identity Service Party

http://www.componentpro.com/download/?name=UltimateSaml
http://www.componentpro.com/doc/saml/Introduction_to_Single_Sign-On_Applications.html

http://www.componentspace.com/Downloads.aspx

to create private key and public key,
we can use Visualstudio command line makecert.exe, but easiest way is using the gui tool from:
http://blog.pluralsight.com/selfcert-create-a-self-signed-certificate-interactively-gui-or-programmatically-in-net

first save the rsa key to pfx file by use selfcert tool.

then you can import it and export to to cer file.
you need use "mmc" command and add certificate snap to view the certificates.

or you can use openssl (need install it first),

C:\Users\wsun>openssl pkcs12 -nokeys -clcerts -in ix.pfx -out ix.cer
Enter Import Password:
MAC verified OK