I am getting this \'HTTPS hostname wrong:\' error when trying to connect to a server using https. My url looks something like this
https://sub.domain.com/tam
It looks like the SSL certificate for domain.com has been given to sub.domain.com. Or, more likely, what was domain.com has been renamed to sub.domain.com without updating the SSL certificate.