Let's Go!

javax.net.ssl

上一篇 / 下一篇  2009-07-16 23:18:32 / 个人分类:JAVA学习&编程相关

 

javax.net.ssl

http://java.sun.com/j2se/1.4.2/docs/api/javax/net/ssl/package-summary.html

keytool - Key and Certificate Management Tool


http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/keytool.html

 

http://203.208.33.132/search?q=cache:vULBsXgzDxgJ:markmail.org/message/fsa3ctjwk7rey3e7+jmeter+https&cd=15&hl=zh-CN&ct=clnk&gl=cn&st_usg=ALhdy2-YjhsNXebeNVyZrfdAl1esbiPQfw

I'm also using jdk1.4.1 and to get SSL working with the GUI client I had to do the following:

1.) Uncomment ssl.provider and ssl.pkgs
2.) Set javax.net.ssl.trustStore to the default cacerts file found in your jre/lib/security directory
3.) Used keytool to import copies of the certs that were being used by the web servers for SSL into the trusted store

When I ran the test, the GUI client would prompt me for the keystore password...the default keystore password is changeit, and that would complete the initialization of my SSL context allowing me to successfully run my test plan.

hope this helps,

 

 


TAG:

 

评分:0

我来说两句

Open Toolbar