Configure deprecation for tls