Re: Webtest with client authentication

Michael Habbert <[email protected]>
Newsgroups gmane.comp.web.canoo.webtest
Message-ID <[email protected]>
Hi Daniel,


Am 06.01.2011 15:29, schrieb Daniel Plappert:
> Hi,
>

[...]

> </config>
>
> <invoke url="/index.html" description="Gehe zur Startseite"/>
> <verifyTitle text="TEST" />
> ....
>
> There are two points I don't understand:
>
> 1. the truststore-file. What is it for?

This is the file you store the ssl-certificate/key from your 
testing-webserver (https) into. You have to create this file with the 
java keytools (google: java keytool).

If I remember right then you have to export the certificate into a file 
- using a browser like firefox ....

Using this key inside the keystore will ensure your are using the right 
https-server.

> 2. Whatever I type for the keystore-file, I always get the same error
> (from webserver): bad_certificate. And this bothers me, because I can't
> tell where the problem lies. Even if I tried a wrong password, the error
> message remains the same - it is always the same (even when no
> certificate is sent).
>
> So, I am lost, because the error message I get doesn't help and the
> provided example doesn't show how I can convert a client certificate (a
> p12 file) into a keystore and why this is necessary.
>
> I would be very helpful if someone tested a web application with a
> client authentication and can provide a working example. I really
> appreciate your help.

Can provide an example on monday - when at work again. ;-/

greetings

Michael Habbert
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.