RE : Disabling Certification validation in HTTPS

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

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());

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 httpsprotocol

RE: Disabling Certification validation in HTTPS

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