Pregunta de entrevista de Amazon

How does a server validate a security certificate