Skip to content

Social Stream Presence REST API

agordillo edited this page Dec 14, 2011 · 34 revisions

Install OpenSSL Libraries

sudo apt-get install openssl

sudo apt-get install libopenssl-ruby

Generating RSA Keys

If you execute the automatic installation with secure access enabled, the RSA Keys have already been generated.

Otherwise, you can generate it automatically executing the following rake task in the Web Server:
rake presence:install:generate_RSA_keys

Generated Folders:
Web Server Keys Path: social_stream/presence/rsa_keys/
Xmpp Server Keys Path: scripts_path/rsa_keys/

Generated Files:

WebServerKeysPath/web_rsa_key_public.pem
WebServerKeysPath/web_rsa_key_private.pem
WebServerKeysPath/xmpp_rsa_key_public.pem

XmppServerKeysPath/xmpp_rsa_key_public.pem 
XmppServerKeysPath/xmpp_rsa_key_private.pem 
XmppServerKeysPath/web_rsa_key_public.pem 

 

Hash function implementation:

Clone this wiki locally