TLS integration