posted 14 years ago
Hi,
I need my program to be able to make HTTPS posts. I know that you can disable server authentication by creating a new X509TrustManager as described here: http://www.exampledepot.com/egs/javax.net.ssl/TrustAll.html?l=rel. But what I really want is for my X509TrustManager to wrap the default TrustManager. Then if the default TM throws a CertificationException, my own X509TrustManager will have the option to squash it on a case-by-case basis.
So the question is, how do I get a hold of the JVM's default Trust Manager?
Thank you,
Yuriy
[ February 28, 2007: Message edited by: Yuriy Zilbergleyt ]