What I did to make this work was:

1) extract the certificate of the secure site I wanted to access from my
webbrowser
2) created a keystore with the java keytool and then imported the
certificate into it
3) added "-Djavax.net.ssl.trustStore=PATH_TO_KEYSTORE" to the java command
of the jmeter startup file, where PATH_TO_KEYSTORE is the path to the
previously created keystore file

That's all.

In the user manual under chapter 13.8.1 the "SSL Manager" is mentionned,
perhaps that's the way to do this more nicely; although I never saw this
option in the jmeter gui...

Hope that helps,

Leo

> -----Urspr�ngliche Nachricht-----
> Von:  Neal Rapoport [SMTP:[EMAIL PROTECTED]
> Gesendet am:  Mittwoch, 11. Juni 2003 17:15
> An:   [EMAIL PROTECTED]
> Betreff:      HTTPS always returns: Non HTTP response code
> 
> I am new to JMeter, and I am trying to use it for a site which is SSL
> enabled.  
> It's not working yet.  I have read several messages and this is where I
> am.  here's my config:
> 1. j2re1.4.1_03
> 2. jakarta-jmeter-1.8.1
> 3. in jmeter.properties, I uncommented :
>     ssl.provider=com.sun.net.ssl.internal.ssl.Provider
>     ssl.pkgs=com.sun.net.ssl.internal.www.protocol
> 4. the certificate is equifax (if that matters??)
> 5. I setup an HTTP Request:
>     Server (myserver.something.com)
>     Port Number: 443
>     Protocol: HTTPS
>     Method: GET
>     Path: /mypath/
> 6. View Results Tree:
>     HTTP response code: Non HTTP response code
>     HTTP response message: Non HTTP response message
>     for RENDER HTML, I get:
>     javax.net.ssl.SSLHandshakeException:
> java.security.cert.CertificateException: Could not find trusted
> certificate
> 
> Please help.
> Thanks!
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to