I'm trying to Automate logins to the hardware web interface that we have on Site.
The hardware has a url like this: https://192.168.100.207/login.shtm
.
This url has an invalid certificate and the browsers will warn me about a possible "Man in the Middle" situation.
So, I'm trying mechanize to automate the login, form filling and submitting changes. The problem ocuurs here:
br = mechanize.Browser()
r = br.open('https://192.168.100.207/login.shtm')
I get this error
urllib2.URLError: <urlopen error [Errno 1] _ssl.c:510: error:1408F081:SSL routines:SSL3_GET_RECORD:block cipher pad is wrong>
I'v looked around for a way to bypass SSl certificate check in mechanize, but found nothing.
I appreciate the help!