Wednesday, May 12, 2010

Creating Keystore for Collab SSL

1. Create Keystore:
PATH: /usr/local/blackboard/apps/httpd/conf/certs
!!! password: blackboard !!!
SELF SIGNED: openssl pkcs12 -export -out collab.keystore -in collab.cert -inkey collab.key


2. Verify that there is a certificate in keystore:
PATH: /usr/local/blackboard/apps/httpd/conf/certs
keytool -list -keystore collab.keystore -storetype pkcs12

3. Then copy the keystore to:
PATH: /usr/local/blackboard/apps/collab-server/config/collab.keystore
cp collab.keystore /usr/local/blackboard/apps/collab-server/config/collab.keystore

4. Configure bb-config.properties:
PATH: /usr/local/blackboard/config/
bbconfig.collabserver.keystore.filename=/usr/local/blackboard/apps/collab-server/config/collab.keystore
bbconfig.collabserver.keystore.password=blackboard
bbconfig.collabserver.keystore.type=PKCS12

5. Configure server.xml.bb file :
PATH: /usr/local/blackboard/apps/collab-server/http/tomcat/conf/
Info for port 8011 is added automatically from bb-config.properties

Add connector for port 8443 if does not exist:


6. Run PushConfigUpdate
sudo /usr/local/blackboard/tools/admin/PushConfigUpdates.sh

7. Check that configuration of server.xml is correct:
PATH: /usr/local/blackboard/apps/collab-server/http/tomcat/conf/





8. Check that application is listening on appropriate ports (All should be found):
netstat -an | grep 8010
netstat -an | grep 8011
netstat -an | grep 8443

1 comment:

  1. Correction: openssl pkcs12 -export -out collab.keystore -in ssl.cer -inkey ssl.key -name "tomcat"

    ReplyDelete