It was doing the same for me. Took me a while to figure out there was a space at the end of my username. I'm now connected through HTTPS with a self signed certificate correctly.