forgot that // will keep ssl, so it was throwing bad cert error