This error can occur for users who are behind a firewall. In order to login to the game, you will need to make sure that your firewall/router is configured to allow outbound connections on port 443.
Typically this is done within your router configuration settings. PortForward.com is a very useful third-party site that contains port forwarding walkthroughs for most router models.
If you have a firewall active on the software level, you should refer to the documentation provided with the software for assistance on this process.