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 fully qualified host name of the BIG-IP admin facility as the CN of the certificate.
2) I then copied the .crt file to my local machine and imported it into the keystore file using the keytool utilty.
3) When I ran the code I received the following error:
May 4, 2005 1:55:47 PM org.apache.axis.utils.JavaUtils isAttachmentSupported
WARNING: Unable to find required classes (javax.activation.DataHandler and javax
.mail.internet.MimeMultipart). Attachment support is disabled.
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: javax.net.ssl.SSLHandshakeException: sun.security.validator.Valida
torException: No trusted certificate found
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:javax.net.ssl.SSLHandshakeExcept
ion: sun.security.validator.ValidatorException: No trusted certificate found
What do I need to do to resolve this problem?
Thanks,
David
- Historically, you would have to have installed the server certificate in your client truststore (Click here)
- David_Newman_10
Nimbostratus
This triggers two questions. - Not sure why the brute force approach didn't work. More than likely you didn't install the certificate into the file specified in the app.
System.setProperty("javax.net.ssl.trustStore", System.getProperty("user.home") + "/.keystore");
Provider.install("MYX509ALG")
- David_Newman_10
Nimbostratus
How would this be done for Axis? - Excellent! Glad to be of some help. Feel free to post again if anything comes up that you need assistance on.
- Sunit_Tailor_11
Nimbostratus
I have two JAVA application. - It looks like you are using WebSphere for your deployment of your web app. Are you using the same framework for your standalone application that is currently working?
- Sunit_Tailor_11
Nimbostratus
Hi Joe, - Sunit_Tailor_11
Nimbostratus
Hi Joe, - You don't need to use both the XTrustProvider and installCert utility. The XTrustProvider provides a real-time injection into the certificate validation process while installCert will take the server certificate and physically install it into your local trust store.
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