You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by ch...@apache.org on 2008/05/22 11:05:15 UTC
svn commit: r659054 - /incubator/shindig/trunk/php/certs/README
Author: chabotc
Date: Thu May 22 02:05:14 2008
New Revision: 659054
URL: http://svn.apache.org/viewvc?rev=659054&view=rev
Log:
Added a README on how to generate the private/public key required for oauth & signed requests
Added:
incubator/shindig/trunk/php/certs/README
Added: incubator/shindig/trunk/php/certs/README
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/php/certs/README?rev=659054&view=auto
==============================================================================
--- incubator/shindig/trunk/php/certs/README (added)
+++ incubator/shindig/trunk/php/certs/README Thu May 22 02:05:14 2008
@@ -0,0 +1,15 @@
+To have working oauth & signed requests you need a private and public key.
+
+You can generate these using the 'openssl' command by doing the following:
+
+Goto the certs directory:
+# cd shindig/php/certs
+
+Generate the private key:
+# openssl genrsa -out private.key -des3 1024
+Enter a pass phrase, and make sure to put this in 'private_key_phrase' in config.php
+
+Generate the public key:
+# openssl req -new -x509 -nodes -sha1 -days 365 -key private.key > public.crt
+Enter the pass phrase again, and your host's information
+
Re: svn commit: r659054 - /incubator/shindig/trunk/php/certs/README
Posted by Ropu <ro...@gmail.com>.
Just a note
for AUTHENTICATED request you dont need a private cert form youself, you
will need one from the Application coder to add to the config/oauth.json
consumer_secret
"http://consumer.com/gadget.xml" : {
"google" : {
"consumer_secret" : "PKCS8_encoded_private key_Without_Headers",
"consumer_key" : "consumer.com",
"key_type" : "RSA_PRIVATE"
}
}
Your private key will only be used in the Signed calls
Right now PEM and PKCS8 private keys are allowed for this.
ropu
On Thu, May 22, 2008 at 6:05 AM, <ch...@apache.org> wrote:
> Author: chabotc
> Date: Thu May 22 02:05:14 2008
> New Revision: 659054
>
> URL: http://svn.apache.org/viewvc?rev=659054&view=rev
> Log:
> Added a README on how to generate the private/public key required for oauth
> & signed requests
>
> Added:
> incubator/shindig/trunk/php/certs/README
>
> Added: incubator/shindig/trunk/php/certs/README
> URL:
> http://svn.apache.org/viewvc/incubator/shindig/trunk/php/certs/README?rev=659054&view=auto
>
> ==============================================================================
> --- incubator/shindig/trunk/php/certs/README (added)
> +++ incubator/shindig/trunk/php/certs/README Thu May 22 02:05:14 2008
> @@ -0,0 +1,15 @@
> +To have working oauth & signed requests you need a private and public key.
> +
> +You can generate these using the 'openssl' command by doing the following:
> +
> +Goto the certs directory:
> +# cd shindig/php/certs
> +
> +Generate the private key:
> +# openssl genrsa -out private.key -des3 1024
> +Enter a pass phrase, and make sure to put this in 'private_key_phrase' in
> config.php
> +
> +Generate the public key:
> +# openssl req -new -x509 -nodes -sha1 -days 365 -key private.key >
> public.crt
> +Enter the pass phrase again, and your host's information
> +
>
>
>
--
.-. --- .--. ..-
R o p u