Code cleanup. Refactored a couple of definitions related to SSL. Removed hardcodes from deploy code.