The trust manager is an anonymous inner class that can be overridden in the
following manner:
SSLContext sslcontext = SSLContext.getInstance("TLS");
sslcontext.init(null, new TrustManager[] {
new DummyTrustManager()
}, new SecureRandom());
facto
bling Certification validation in HTTPS
The code below uses a keystore to validate sites.
Check sun site or other resources to find out how to build a
keystore/truststore from: keytool
I generate a self signed cert in the keystore and
then import remote client certs.
OTECTED]
Subject: RE: Disabling Certification validation in HTTPS
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
Title: Message
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.
-O
Title: Message
The code below uses a keystore to validate sites. Check
sun site or other resources to find out how to build a keystore/truststore from:
keytool
I generate a self signed cert in the keystore and then
import remote client certs.
// If we are running https protocol
(