SSL issue was a server configuration problem, use verifypeer