How to download a certificate from browser