Configured SSL certs and HTTPS connections for both Apache2 webserver and tomcat7 backend. Updated URLs in services.js.