Home
last modified time | relevance | path

Searched refs:cert_path (Results 1 – 5 of 5) sorted by relevance

/php-src/ext/openssl/tests/
H A Dopenssl_pkcs12_export_to_file_basic.phpt11 $cert_path = "file://" . $cert_file;
24 var_dump(openssl_pkcs12_export_to_file($cert_path, $pkcsfile, $priv_path, $pass));
H A Dopenssl_pkcs12_export_basic.phpt9 $cert_path = "file://" . $cert_file;
22 var_dump(openssl_pkcs12_export($cert_path, $output, $priv_path, $pass)); // read certs from a filen…
H A Dopenssl_pkcs12_export_to_file_error.phpt11 $cert_path = "file://" . $cert_file;
/php-src/ext/openssl/
H A Dopenssl.c1458 char cert_path[MAXPATHLEN]; in php_openssl_x509_from_str() local
1462 …if (!php_openssl_check_path_str_ex(cert_str, cert_path, arg_num, true, is_from_array, option_name)… in php_openssl_x509_from_str()
1466 in = BIO_new_file(cert_path, PHP_OPENSSL_BIO_MODE_R(PKCS7_BINARY)); in php_openssl_x509_from_str()
2280 char cert_path[MAXPATHLEN]; in STACK_OF() local
2288 if (!php_openssl_check_path(cert_file, cert_file_len, cert_path, arg_num)) { in STACK_OF()
2293 if (!(in = BIO_new_file(cert_path, PHP_OPENSSL_BIO_MODE_R(PKCS7_BINARY)))) { in STACK_OF()
2295 php_error_docref(NULL, E_WARNING, "Error opening the file, %s", cert_path); in STACK_OF()
2303 php_error_docref(NULL, E_WARNING, "Error reading the file, %s", cert_path); in STACK_OF()
2318 php_error_docref(NULL, E_WARNING, "No certificates in file, %s", cert_path); in STACK_OF()
H A Dxp_ssl.c1414 static SSL_CTX *php_openssl_create_sni_server_ctx(char *cert_path, char *key_path) /* {{{ */ in php_openssl_create_sni_server_ctx() argument
1420 if (SSL_CTX_use_certificate_chain_file(ctx, cert_path) != 1) { in php_openssl_create_sni_server_ctx()
1425 cert_path in php_openssl_create_sni_server_ctx()

Completed in 31 milliseconds