I don't know where they are getting loaded (not DefaultKeyStore), but I used
this on the command line to discover that the certs were actually getting
loaded: 
-Djavax.net.debug=ssl:keymanager. It's very useful to get lots of
information about SSL connections. I found the documentation at
http://java.sun.com/j2se/1.5.0/docs/guide/security/jsse/JSSERefGuide.html#Debug.

It led me to look more closely at my Recording Controller and it turns out
that I was getting redirects on the login page and all I had to do was
checkmark "Follow Redirects" in the sampler(s) to get it to work.

Question: why would one not want to follow redirects? Why is "Follow
Redirects" not checkmarked by default?

Thanks,
Ron


rmiller wrote:
> 
> I've been unable to log into secure sites using JMeter. I've downloaded
> the SSL certificates from the sites I'm trying to reach and imported them
> into CACERTS. I configured the properties to read the CACERTS file but
> consistently get this exception: "jmeter.util.SSLManager: Couldn't load
> keystore java.lang.Exception: No key found."
> 
> To verify that my certs were actually getting loaded I modified
> jmeter.util.keystore.DefaultKeyStore (in rel-2-2) to log the alias names
> as it was iterating through the keystore aliases and found my aliases are
> there. Next I checked to see if the following line, "if
> (store.isKeyEntry(alias))," is returning true and found that in all cases,
> including all the certs that come with Java, it returns false; thus the
> _key value is null and the above exception gets thrown. 
> 
> In researching this problem I found a large number of entries on the lists
> with the same problem, but it seems that no one has found a solution. I'm
> new to JMeter and this is my first peak at the code, so I'm not sure where
> to go from here. Can anyone please advise. 
> 
> Thanks,
> Ron
> 

-- 
View this message in context: 
http://www.nabble.com/JMeter-not-loading-SSL-certs-tf3892688.html#a11073020
Sent from the JMeter - Dev mailing list archive at Nabble.com.


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

Reply via email to