// (without user confirmation) and enters it into the asadmintruststore.
Boolean doNotConfirmCert = new Boolean(
getNodeAgentPropertyReader().doNotConfirmServerCert());
if (doNotConfirmCert.booleanValue()) {
if (bDebug) System.out.println("do not confirm server certificate");
NoCertCheckX509TrustManager tm =
new NoCertCheckX509TrustManager(serviceUrl);
env.put(DefaultConfiguration.TRUST_MANAGER_PROPERTY_NAME, tm);
} else if (bDebug) {
System.out.println("confirm server certificate");
}
return env;