How SSL can be used to ensure the server identity?
SSL can be used to ensure the server identity (using server certificates) and, optionally, the client identity. How SSL can开发者_如何学Python be used to ensure the server identity?
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.
精彩评论