Forum Discussion
David_Newman_10
Nimbostratus
May 04, 2005No trusted certificate found
I am trying to run the sample code in Control-9.0\sdk\samples\soap\java\apache\axis\LocalLB.
1) Before running the test I created a self-signed certificate on the BIG-IP setting the ful...
Nov 22, 2005
As I said, XTrustProvider and installCert are two different options. You don't need to use them both. If for some reason you are having problems with XTrustProvider working in real-time, then here's how installCert works.
Run java installCert bigip_address keystore_password keystore_alias
Where
bigip_address is the ip address of the BIG-IP
keystore_password is the password of your local keystore {user.home}/.keystore
keystore_alias is the alias for the new entry in your keystore.
If you need help creating a keystore, take a look a the documentation for sun's keytool command.
Then in your client code you will need to specify the location of the keystore.
System.setProperty("javax.net.ssl.trustStore", System.getProperty("user.home") + "/.keystore");
Here is probably where a potential problem could lie. If your "user.home" variable is different in the context of running the installCert command and the context of your web application, then this will not work. You might want to hardcode a location in your app to the real location of the keystore.
System.setProperty("javax.net.ssl.trustStore", "/full/path/to/.keystore");
And make sure that the identity your webserver is running under has access to that file.
-Joe
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects