fix server tls file bug