HttpUnit & Client Certification
Posted on 2004-04-29
Hello, it seems that today I will spent all my points :)
Friends here is my problem now.
I need to emulate the browser that has a certification.
At the begining I tought I will use a Java program and enter to the Http Hreaders with the name
X-Client-Cert the certification,
enter the username/password with the setRequestProperty
and finally open a connection to the server
and check the answer.
After a while I found the HttpUnit makes exactly this, emulating the browser, perfect I tought do not reinvent the wheel I will use this.
But I cannot find how I will insert into the headers my certification.
Any ideas ???
Thank you in advance
pouli is ready to fly