Storing TLS credentials in the directory