Secure Client-Server Communications
To connect to the server using HTTPS, client applications must verify the identity of the server by using the server’s certificate during an initial handshake. The client must obtain the server certificate in advance, so that it is available during the handshake.