• Home
  • Raw
  • Download

Lines Matching refs:keyfile

73 			keyfile[1024];	/* Private key filename */  in cupsMakeServerCredentials()  local
99 http_gnutls_make_path(keyfile, sizeof(keyfile), path, common_name, "key"); in cupsMakeServerCredentials()
125 else if ((fp = cupsFileOpen(keyfile, "w")) != NULL) in cupsMakeServerCredentials()
127 DEBUG_printf(("1cupsMakeServerCredentials: Writing private key to \"%s\".", keyfile)); in cupsMakeServerCredentials()
133 …upsMakeServerCredentials: Unable to create private key file \"%s\": %s", keyfile, strerror(errno))… in cupsMakeServerCredentials()
1352 keyfile[1024]; /* Private key file */ in _httpTLSStart() local
1397 http_gnutls_make_path(keyfile, sizeof(keyfile), tls_keypath, hostname, "key"); in _httpTLSStart()
1399 if (access(crtfile, R_OK) || access(keyfile, R_OK)) in _httpTLSStart()
1431 strlcpy(keyfile, cakeyfile, sizeof(keyfile)); in _httpTLSStart()
1435 have_creds = !access(crtfile, R_OK) && !access(keyfile, R_OK); in _httpTLSStart()
1444 http_gnutls_make_path(keyfile, sizeof(keyfile), tls_keypath, tls_common_name, "key"); in _httpTLSStart()
1446 if (access(crtfile, R_OK) || access(keyfile, R_OK)) in _httpTLSStart()
1478 strlcpy(keyfile, cakeyfile, sizeof(keyfile)); in _httpTLSStart()
1482 have_creds = !access(crtfile, R_OK) && !access(keyfile, R_OK); in _httpTLSStart()
1500 …BUG_printf(("4_httpTLSStart: Using certificate \"%s\" and private key \"%s\".", crtfile, keyfile)); in _httpTLSStart()
1503 …status = gnutls_certificate_set_x509_key_file(*credentials, crtfile, keyfile, GNUTLS_X509_FMT_PEM); in _httpTLSStart()