I had this exact same error! The SSL client failed to connect is actually rather misleading. at least in my case it was down to the indentation of the yml on the outbound beat, i.e. the node that I was shipping logs from.... I know this sounds crazy, but it was true, had me baffled for ages.... try using this on the node that you are trying to send logs from! See below:
rotateeverybytes: 10485760 # = 10MB
Let me know how you get on!
P.s replace the irrelevant bits that I left in there!