Re: Disabling Certification validation in HTTPS

2005-01-12 Thread ANDREW MICONE
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

RE : Disabling Certification validation in HTTPS

2005-01-12 Thread Faucher, Christian
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.      

RE: Disabling Certification validation in HTTPS

2005-01-11 Thread Carsten Friedrich
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

RE: Disabling Certification validation in HTTPS

2005-01-11 Thread Rich Bramante
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

RE: Disabling Certification validation in HTTPS

2005-01-11 Thread Flores, Raul
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 (