Using mechanization to visit a site that requires SSL

I need to visit a site (https: // *) that requires me to install two certificates in Firefox before I can visit it successfully. One I can export as a .p12 file (client certificate) and the other as a .crt file (CA certificate). If I try to access this site without these certificates, I get an "Inconsistent confirmation" error.

How can I visit this site in Python? I was thinking about the mechanism. Thank.

+2


source to share


1 answer


I would advise you to use webdriver to automate Firefox. It also has a Python interface.



+1


source







All Articles