{
throw new PSQLException(GT.tr("Loading the SSL root certificate {0} into a TrustManager failed.", new Object[]{sslrootcertfile}), PSQLState.CONNECTION_FAILURE, gsex);
}
tm = tmf.getTrustManagers();
} else { //server validation is not required
tm = new TrustManager[] { new NonValidatingTM() };
}
//finally we can initialize the context
try
{