benedekh / WeLoveClouds

Repository for submissions on the CloudDB course.
0 stars 1 forks source link

Where I've got to with implementing SSL communications. #211

Closed ghost closed 7 years ago

ghost commented 7 years ago

This pull request is just to show where I am with the SSL communications. The only thing I've got working so far is KVclient <-> KVserver connections. This has turned out to be more difficult than I expected. I'd be thankful for criticism about how I've structured the code. Once I've got some feedback I'll incorporate it into my code and start working on fitting SSL into other places in the project.

benedekh commented 7 years ago

@RMIT-s3529366-Hunton-Bowland Hey, I went through the implementation and put some comments / suggestions over there. Should you have any questions, don't hesitate to ask. :-)

ghost commented 7 years ago

Everything builds and runs, but it doesn't work properly. When I try to use initService on the ECS I get an error, the message is weloveclouds.ecs.exceptions.ssh.SecureShellServiceException: Unable to execute command: java -jar /tmp/ms4-lb.jar on targeted host: 127.0.0.1 I'm assuming this means I need to put a loadbalancer copy in my /tmp/ folder, or else just edit the ssh command to get this to work. If you have any advice please leave a comment. By the way, I'm sorry but I probably won't be able to finish implementing SSL comms by the end of today. Edit: I've had to change ExternalConfigurationServiceConstants to get things to run on my machine, I'll change them back later.