Home
last modified time | relevance | path

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

/PHP-8.1/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-8.1/ext/openssl/
H A Dopenssl.c1507 char cert_path[MAXPATHLEN]; in php_openssl_x509_from_str() local
1511 …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()
1515 in = BIO_new_file(cert_path, PHP_OPENSSL_BIO_MODE_R(PKCS7_BINARY)); in php_openssl_x509_from_str()
2326 char cert_path[MAXPATHLEN]; in STACK_OF() local
2334 if (!php_openssl_check_path(cert_file, cert_file_len, cert_path, arg_num)) { in STACK_OF()
2339 if (!(in = BIO_new_file(cert_path, PHP_OPENSSL_BIO_MODE_R(PKCS7_BINARY)))) { in STACK_OF()
2341 php_error_docref(NULL, E_WARNING, "Error opening the file, %s", cert_path); in STACK_OF()
2349 php_error_docref(NULL, E_WARNING, "Error reading the file, %s", cert_path); in STACK_OF()
2364 php_error_docref(NULL, E_WARNING, "No certificates in file, %s", cert_path); in STACK_OF()
H A Dxp_ssl.c1403 static SSL_CTX *php_openssl_create_sni_server_ctx(char *cert_path, char *key_path) /* {{{ */ in php_openssl_create_sni_server_ctx() argument
1409 if (SSL_CTX_use_certificate_chain_file(ctx, cert_path) != 1) { in php_openssl_create_sni_server_ctx()
1414 cert_path in php_openssl_create_sni_server_ctx()

Completed in 30 milliseconds