Client cert authentication

9 views
Skip to first unread message

Ryan

unread,
Jul 28, 2011, 4:13:50 PM7/28/11
to watij
I'm testing an application at work that requires I use IE and a .p12
for authentication.

I cannot find any method to pass a .p12 along when making my
connection. Is there a way to use client certification in an
automated fashion?

I tried removing all other certs from my browser and setting it to not
prompt when it only has one cert available. I was able to open the
site in the browser without the need to handle any dialogs.

I tried something like this:

WebSpec spec = new WebSpec.ie();
spec.open("https://mysite.com");

All that happens is I get a white screen. I have no elements that I
can select in the JxBrowser. I used the older WatiJ API to run it in
the native browser and it worked just fine. Any chance I can tell
WebSpec to just use the native browser?
Reply all
Reply to author
Forward
0 new messages