• Home
  • Raw
  • Download

Lines Matching refs:crtfile

72  			crtfile[1024],	/* Certificate filename */  in cupsMakeServerCredentials()  local
98 http_gnutls_make_path(crtfile, sizeof(crtfile), path, common_name, "crt"); in cupsMakeServerCredentials()
201 else if ((fp = cupsFileOpen(crtfile, "w")) != NULL) in cupsMakeServerCredentials()
203 …intf(("1cupsMakeServerCredentials: Writing public key and X.509 certificate to \"%s\".", crtfile)); in cupsMakeServerCredentials()
209 …als: Unable to create public key and X.509 certificate file \"%s\": %s", crtfile, strerror(errno))… in cupsMakeServerCredentials()
1351 char crtfile[1024], /* Certificate file */ in _httpTLSStart() local
1396 http_gnutls_make_path(crtfile, sizeof(crtfile), tls_keypath, hostname, "crt"); in _httpTLSStart()
1399 if (access(crtfile, R_OK) || access(keyfile, R_OK)) in _httpTLSStart()
1430 strlcpy(crtfile, cacrtfile, sizeof(crtfile)); in _httpTLSStart()
1435 have_creds = !access(crtfile, R_OK) && !access(keyfile, R_OK); in _httpTLSStart()
1443 http_gnutls_make_path(crtfile, sizeof(crtfile), tls_keypath, tls_common_name, "crt"); in _httpTLSStart()
1446 if (access(crtfile, R_OK) || access(keyfile, R_OK)) in _httpTLSStart()
1477 strlcpy(crtfile, cacrtfile, sizeof(crtfile)); in _httpTLSStart()
1482 have_creds = !access(crtfile, R_OK) && !access(keyfile, R_OK); in _httpTLSStart()
1500 …DEBUG_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()