Lines Matching defs:keyfile
69 keyfile[1024]; /* Private key filename */
95 http_gnutls_make_path(keyfile, sizeof(keyfile), path, common_name, "key");
121 else if ((fp = cupsFileOpen(keyfile, "w")) != NULL)
123 DEBUG_printf(("1cupsMakeServerCredentials: Writing private key to \"%s\".", keyfile));
129 DEBUG_printf(("1cupsMakeServerCredentials: Unable to create private key file \"%s\": %s", keyfile, strerror(errno)));
1094 keyfile[1024]; /* Private key file */
1136 http_gnutls_make_path(keyfile, sizeof(keyfile), tls_keypath, hostname, "key");
1138 have_creds = !access(crtfile, 0) && !access(keyfile, 0);
1143 http_gnutls_make_path(keyfile, sizeof(keyfile), tls_keypath, tls_common_name, "key");
1145 have_creds = !access(crtfile, 0) && !access(keyfile, 0);
1163 DEBUG_printf(("4_httpTLSStart: Using certificate \"%s\" and private key \"%s\".", crtfile, keyfile));
1165 status = gnutls_certificate_set_x509_key_file(*credentials, crtfile, keyfile, GNUTLS_X509_FMT_PEM);