fixed regression when setting custom certioficate for haproxy
remove debug