Add conditional display logic for enabletls and cert