Beam is a secure chat application that ensures private communications between parties. The purpose of Beam Messenger is to provide a free and open source blueprint for anyone who is interested with working with encrypted communication. Using SSL/TLS, messages are able to be securely sent between two separate parties ensuring private communications. Currently only non-local communication is possible over the same network.
- Open a terminal window and 'cd' to the appropiate directory
- Compile the Server.java file ('javac SSLServer.java')
- Run the following command 'java -Djavax.net.ssl.keyStore=keystore -Djavax.net.ssl.keyStorePassword=password SSLServer'
- (OPTIONAL) You can add '-Djavax.net.debug=ssl' before 'SSLServer' in the previous command to see some nifty stuff
- The server should now be running using your machine's address
- Open a terminal window and 'cd' to the appropiate directory
- Compile the Client.java file ('javac SSLClient.java')
- Run the following command 'java -Djavax.net.ssl.trustStore=truststore -Djavax.net.ssl.trustStorePassword=trustword SSLClient'
- (OPTIONAL) You can add '-Djavax.net.debug=ssl' before 'SSLClient' in the previous command to see some nifty stuff
- Now you can use the client commands listed below to communicate
- whois - list all users connected to server
- chusr->oldName,newName - change your username from oldName to newName
- 'message'->reciepientName - send a message to a recipient with username recipientName
- exit - disconnect from server (can now safely use CTRL+C to terminate program without interfering with the server)
BEAM MESSENGER IS NOT SECURELY RIGOROUS ENOUGH TO BE USED IN COMMERCIAL APPLICATIONS. IT IS MEANT FOR DEMONSTRATION AND LEARNING PURPOSES ONLY.