Signed-off-by: Laurent Garnier <lg.hc@free.fr>
@Activate
public UniFiThingHandlerFactory(@Reference final HttpClientFactory httpClientFactory) {
- // [wip] mgb: disabled due to missing common name attributes with certs
- // this.httpClient = httpClientFactory.getCommonHttpClient();
- httpClient = new HttpClient(new SslContextFactory.Client(true));
+ httpClient = httpClientFactory.createHttpClient(BINDING_ID, new SslContextFactory.Client(true));
try {
httpClient.start();
} catch (final Exception e) {