I have a question about the certificate usage to establish a secure (TLS/SSL) connection between a web browser and a website and really hope that someone can either direct me to a resource where it is explained or can spend some time to explain it here.
As far as I understand a certificate is sent by a webserver to a web browser initially to identify the web-server. So web-browser verifies who issued the certificate, checks in its local certificate store if a root certificate of that issuer exists and is trustworthy, compares website name with "subject" value in the certificate and tries to decrypt the certificate signature.
If that all passed, then the website is considered to be "trusted".
However, after that, something is done to set up a secure connection between the web browser and the website and exactly for that process I am looking for an explanation.
Is the same certificate used to create this secure connection? Is there a difference when MD5 or SHA is used?