How Certificate Based Authentication Works