Was reading HTTPS workflow and would like to understand more about it.
Client ---> Malicious Server (instead of actual server)
When Client connects to server there can be possibility that it connects to malicious server and that server represents the certificate on behalf of Actual Server, how client knows whether its genuine server or not?