It's quite often that you need to perform certain actions on the server side to have the SSL support enabled. Thus, please consult your server documentation first.
If you are sure that SSL on the server side is set up and working properly, the next step would be to make sure that there is no network communication (firewall, that is most often) problems between the server and client machine. The check is usually involves using network tools such as telnet, nc (netcat), openssl or even your web browser to make sure that the server's host:port is accessible from the client host and an SSL negotiation handshake takes place.
The last possible set of problems could be SSL certificate related once, such as expiration time or lack of trust. Those are usually do not lead to the "Cannot contact to the server" error. You can
enable SCHANNEL logging to troubleshoot this kind of problems.