Check if certificate announces by DNS is the same as sent by server