removed the SSL stuff. It worked but certs didn't match.