Reputation: 1550
SSL can be used to ensure the server identity (using server certificates) and, optionally, the client identity. How SSL can be used to ensure the server identity?
Upvotes: 1
Views: 171
Reputation: 3840
You need to check if the server certificate is signed with a key you can trust. Also it's common to put server address in the common name (CN) field of the certificate, so you should also check if it's the same as the address of the server you are trying to connect to.
Upvotes: 2