Lines Matching refs:tls_auth_options
443 unsigned int port = acl->port?acl->port:(acl->tls_auth_options? in xfrd_acl_sockaddr_to()
879 if (zone->master->tls_auth_options && in xfrd_tcp_open()
880 zone->master->tls_auth_options->auth_domain_name) { in xfrd_tcp_open()
882 if (!setup_ssl(tp, set, zone->master->tls_auth_options->auth_domain_name)) { in xfrd_tcp_open()
891 if (zone->master->tls_auth_options->client_cert && in xfrd_tcp_open()
892 zone->master->tls_auth_options->client_key) { in xfrd_tcp_open()
894 zone->master->tls_auth_options->client_cert) != 1) { in xfrd_tcp_open()
895 …tls: Unable to load client certificate from file %s", zone->master->tls_auth_options->client_cert); in xfrd_tcp_open()
898 if (zone->master->tls_auth_options->client_key_pw) { in xfrd_tcp_open()
900 …SSL_CTX_set_default_passwd_cb_userdata(set->ssl_ctx, zone->master->tls_auth_options->client_key_pw… in xfrd_tcp_open()
903 …if (SSL_CTX_use_PrivateKey_file(set->ssl_ctx, zone->master->tls_auth_options->client_key, SSL_FILE… in xfrd_tcp_open()
904 …, "xfrd tls: Unable to load private key from file %s", zone->master->tls_auth_options->client_key); in xfrd_tcp_open()