LOGGER.debug("Determining capabilities of SCEP server");
// NON-TRANSACTIONAL
final GetCaCapsRequest req = new GetCaCapsRequest(profile);
final Transport trans = new HttpGetTransport(url);
try {
return trans.sendRequest(req, new GetCaCapsResponseHandler());
} catch (TransportException e) {
LOGGER.warn("Transport problem when determining capabilities. Using empty capabilities.");
return new Capabilities();
}
}