When I browse google.com I can ensure that it is google.com by clicking in the address bar :


But let’s assume google is exposing Service1, and I – using c# consume this service (wcf) –
How can my service be assure that he is connecting to google.com ?
I know there is a certificate involved here.
I already know how to read local certificates from my store. but this certificate is not in my store.
Question :
So How do ( and in what stage) can I read google’s certificate data and to assure i’m connecting to them?
Thank you.
1 Answer