I always use openssl to generate key pair like following.
# openssl genrsa -des3 -out privkey.pem 2048
# openssl rsa -in privkey.pem -out privkey-nopass.pem
# openssl rsa -in privkey-nopass.pem -pubout -outform DER -out publickey.der
I hope this helps.
-- matsuo
On Sat, Mar 1, 2008 at 1:05 PM, SSO <ephro...@gmail.com> wrote:
>
> Hi Matsuo,
> Thanks for your reply. Need 3 things,
> 1) I have seen that we have to upload public key.then where to place
> private keys?
You can place it in any safety place you like.
> 2) Shall i create keys in one machine ane upload that in another
> machine?
I don't think you shall do that. But probably you can do that.
> 3) Is there any php tool to create certificate in easy way?
There must be openssl php library, and probably you can create
certificate with it.
But I think the way I had shown in the former e-mail is easy enough...
Regards,
-- matsuo
I hope I understand you correctly...
There is a reference implementation in the URL bellow.
http://code.google.com/apis/apps/sso/saml_reference_implementation_web.html
I hope this implementation will help you.
Regards,
-- matsuo
This example might be more suitable for you. This is a PHP sample.
http://code.google.com/p/google-apps-sso-sample/downloads/list
Regards,