A click on View Certificate will bring up the detail window about Google’s certificate:
Scroll down to the bottom of the window and copy the value behind SHA1. This is the
fingerprint to verify that you are actually talking to www.google.ch.
Exercise 04.06: Better safe than sorry!
In this exercise we will start with the same program as I included earlier in this chapter. But
now you are going to change the code to receive the search site from google on a secure
channel. Complete the following tasks:
⚫ Change the host from www.squix.org to www.google.ch
⚫ Get the SHA1 fingerprint for www.google.ch
⚫ Add a check that this fingerprint matches www.google.ch