I tried to do some more debugging and found I was getting this message:
Code:
error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
and I don't know how to debug that any further, but I thought I'd post it in case it helps someone else (although there's no guarantee that I'm having the same issue madness85 is having). It might have something to do with SSL versions, like if the remote server isn't allowing SSL3 and there's no other alternative configured, but that's just a guess.