Using Client Certificates with screen-scraper
We recently added experimental support to screen-scraper for client/PKI certificates. Some web sites require that you supply a client certificate, that you would have previously been given, in order to access them. I say this new feature is “experimental” because we’ve only been able to perform limited testing with it. So far, it does seem to be working as it should, though.
In order to account for sites that use client/PKI certificates, we’ve added a feature to screen-scraper that allows it to use JKS files. These are files used by Java that encapsulate secure certificates and such. The trick is to turn your existing client certificate file(s) into a .jks file. We’ve currently only tested the feature using .pfx files, which we converted into a .jks file via the method described here:
In the current alpha version of screen-scraper, if you look under the “Advanced” tab for a scraping session you’ll see a box where you can enter the location of your .jks file, and a box that will take the password you used when generating the .jks file. There are also corresponding boxes under the “Advanced” tab for a proxy session.
If you’d like to use this new feature you’ll likely need to do some of your own research on how to turn your client certificate file(s) into a .jks file. Here are a few sites that may help you in this:
- http://www.google.com/ 🙂
You might also find these tools to be helpful: