}
private Client createRESTClient(final DNSAPIClientConfig config,
final ObjectMapper mapper,
final SSLContextFactory sslContextFactory) throws Exception {
final JacksonJsonProvider jacksonJsonProvider = new ErrorHandlingJacksonJsonProvider(
mapper);
final SSLContext sslContext = sslContextFactory.createSSLContext();
final SSLSocketFactory sslSocketFactory = new SSLSocketFactory(
sslContext);