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.
// If we are running
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());
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 httpsprotocol
: Disabling Certification validation in HTTPS
Hi Christian,
Take a look at this thread.
http://marc.theaimsgroup.com/?l=axis-userm=110211375809714w=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