Hi Christian,
Take a look at this thread.
http://marc.theaimsgroup.com/?l=axis-user&m=110211375809714&w=2
What we had to do was to create a custom socket factory that trusted all certs, and then point Axis at our factory class via the meta-inf stuff.
-----Original Message-----
Hi,
I have a SOAP Server that does not have (yet) its trusted certificate, but nonetheless runs in HTTPS. For instance, we can use portals on it, providing we accept the fact the server cannot authenticate itself.
I run a Axis client that connects to this server, using a HTTPS:// URL. However, the client fails, saying that the server has no trusted certificate (see exception below).
Is there a way in Axis to configure an Axis client to accept the SSL connection, no matter if the certificate is valid/trusted/found?
Thank you in advance!
Christian Faucher
javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: No trusted certificate found "Ce
message est confidentiel, a l'usage exclusif du destinataire ci-dessus et son
contenu ne represente en aucun cas un engagement de la part de AXA, sauf en cas
de stipulation expresse et par ecrit de la part de AXA. Toute publication,
utilisation ou diffusion, meme partielle, doit etre autorisee prealablement. Si
vous n'etes pas destinataire de ce message, merci d'en avertir immediatement
l'expediteur." |
Title: Message
- Disabling Certification validation in HTTPS Faucher, Christian
- RE: Disabling Certification validation in HTTPS Flores, Raul
- RE: Disabling Certification validation in HTTPS Rich Bramante
- RE: Disabling Certification validation in HTTP... Carsten Friedrich
- Re: Disabling Certification validation in HTTPS ANDREW MICONE