Home
last modified time | relevance | path

Searched refs:CApath (Results 1 – 25 of 25) sorted by relevance

/freebsd/crypto/openssl/doc/man3/
H A DSSL_CTX_load_verify_locations.pod15 int SSL_CTX_load_verify_dir(SSL_CTX *ctx, const char *CApath);
26 const char *CApath);
33 are located. The certificates available via B<CAfile>, B<CApath> and
79 If B<CApath> is not NULL, it points to a directory containing CA certificates
88 The certificates in B<CApath> are only looked up when required, e.g. when
93 will search for suitable certificates first in B<CAfile>, then in B<CApath>.
100 directory, it's generally treated the same way as a B<CApath>.
104 is not influenced by the contents of B<CAfile> or B<CApath> and must
110 try to fill in missing certificates from B<CAfile>/B<CApath>, if the
132 The operation failed because B<CAfile> and B<CApath> are NULL or the
[all …]
/freebsd/crypto/openssl/apps/
H A Dts.c64 const char *CApath, const char *CAfile,
69 const char *CApath, const char *CAfile,
73 static X509_STORE *create_cert_store(const char *CApath, const char *CAfile,
190 char *inkey = NULL, *signer = NULL, *chain = NULL, *CApath = NULL; in ts_main() local
289 CApath = opt_arg(); in ts_main()
362 CApath, CAfile, CAstore, untrusted, in ts_main()
875 const char *CApath, const char *CAfile, in verify_command() argument
896 CApath, CAfile, CAstore, untrusted, in verify_command()
923 const char *CApath, const char *CAfile, in create_verify_ctx() argument
974 if (!TS_VERIFY_CTX_set0_store(ctx, create_cert_store(CApath, CAfile, CAstore, vpm))) in create_verify_ctx()
[all …]
H A Dverify.c98 const char *prog, *CApath = NULL, *CAfile = NULL, *CAstore = NULL; in verify_main() local
140 CApath = opt_arg(); in verify_main()
213 && (CAfile != NULL || CApath != NULL || CAstore != NULL)) { in verify_main()
220 if ((store = setup_verify(CAfile, noCAfile, CApath, noCApath, in verify_main()
H A Dcrl.c112 const char *CAfile = NULL, *CApath = NULL, *CAstore = NULL, *prog; in crl_main() local
162 CApath = opt_arg(); in crl_main()
246 if ((store = setup_verify(CAfile, noCAfile, CApath, noCApath, in crl_main()
H A Ds_time.c139 char *CApath = NULL, *CAfile = NULL, *CAstore = NULL; in s_time_main() local
190 CApath = opt_arg(); in s_time_main()
279 if (!ctx_set_verify_locations(ctx, CAfile, noCAfile, CApath, noCApath, in s_time_main()
H A Dsmime.c208 const char *CAfile = NULL, *CApath = NULL, *CAstore = NULL, *prog = NULL; in smime_main() local
406 CApath = opt_arg(); in smime_main()
603 if ((store = setup_verify(CAfile, noCAfile, CApath, noCApath, in smime_main()
H A Dpkcs12.c224 const char *CApath = NULL, *CAfile = NULL, *CAstore = NULL, *prog; in pkcs12_main() local
390 CApath = opt_arg(); in pkcs12_main()
456 if (CApath != NULL) in pkcs12_main()
663 if ((store = setup_verify(CAfile, noCAfile, CApath, noCApath, in pkcs12_main()
H A Docsp.c276 const char *CAfile = NULL, *CApath = NULL, *CAstore = NULL; in ocsp_main() local
434 CApath = opt_arg(); in ocsp_main()
845 store = setup_verify(CAfile, noCAfile, CApath, noCApath, in ocsp_main()
H A Dcms.c360 const char *CAfile = NULL, *CApath = NULL, *CAstore = NULL; in cms_main() local
550 CApath = opt_arg(); in cms_main()
1036 if ((store = setup_verify(CAfile, noCAfile, CApath, noCApath, in cms_main()
H A Ds_server.c1122 const char *CApath = NULL, *CAfile = NULL, *CAstore = NULL; in s_server_main() local
1402 CApath = opt_arg(); in s_server_main()
2131 if (!ctx_set_verify_locations(ctx, CAfile, noCAfile, CApath, noCApath, in s_server_main()
2194 if (!ctx_set_verify_locations(ctx2, CAfile, noCAfile, CApath, in s_server_main()
H A Ds_client.c946 const char *CApath = NULL, *CAfile = NULL, *CAstore = NULL; in s_client_main() local
1495 CApath = opt_arg(); in s_client_main()
2110 if (!ctx_set_verify_locations(ctx, CAfile, noCAfile, CApath, noCApath, in s_client_main()
/freebsd/crypto/openssl/apps/include/
H A Dapps.h161 const char *CApath, int noCApath,
165 const char *CApath, int noCApath,
/freebsd/crypto/openssl/apps/lib/
H A Dapps.c96 const char *CApath, int noCApath, in ctx_set_verify_locations() argument
99 if (CAfile == NULL && CApath == NULL && CAstore == NULL) { in ctx_set_verify_locations()
112 if (CApath != NULL && !SSL_CTX_load_verify_dir(ctx, CApath)) in ctx_set_verify_locations()
1379 const char *CApath, int noCApath, in setup_verify() argument
1412 if (CApath != NULL || !noCApath) { in setup_verify()
1416 if (CApath != NULL) { in setup_verify()
1417 if (X509_LOOKUP_add_dir(lookup, CApath, X509_FILETYPE_PEM) <= 0) { in setup_verify()
1418 BIO_printf(bio_err, "Error loading directory %s\n", CApath); in setup_verify()
/freebsd/crypto/openssl/doc/man1/
H A Dopenssl-verification-options.pod215 =item B<-CApath> I<dir>
224 =item B<-no-CApath>
233 B<-CApath>, depending on if the URI indicates a single file or
406 via B<-CAfile>, B<-CApath>, B<-CAstore> or B<-trusted> are always used
419 This option implies the B<-no-CAfile>, B<-no-CApath>, and B<-no-CAstore> options
420 and it cannot be used with the B<-CAfile>, B<-CApath> or B<-CAstore> options, so
711 a directory (as specified by B<-CApath>),
H A Dopenssl-crl.pod.in100 This option is implicitly enabled if any of B<-CApath>, B<-CAfile>
H A Dopenssl-ts.pod.in57 [B<-CApath> I<dir>]
352 =item B<-CAfile> I<file>, B<-CApath> I<dir>, B<-CAstore> I<uri>
355 At least one of B<-CAfile>, B<-CApath> or B<-CAstore> must be specified.
H A Dopenssl-s_time.pod.in142 …openssl s_time -connect servername:443 -www / -CApath yourdir -CAfile yourfile.pem -cipher commonc…
H A Dopenssl-ocsp.pod.in435 B<-CApath> or B<-CAstore> options or they will be looked for in the
471 Normally only the B<-CApath>, B<-CAfile>, B<-CAstore> and (if the responder
/freebsd/crypto/openssl/ssl/
H A Dssl_conf.c494 const char *CAfile, const char *CApath, const char *CAstore, in do_store() argument
530 if (CApath != NULL && !X509_STORE_load_path(*st, CApath)) in do_store()
H A Dssl_lib.c5582 int SSL_CTX_load_verify_dir(SSL_CTX *ctx, const char *CApath) in SSL_CTX_load_verify_dir() argument
5584 return X509_STORE_load_path(ctx->cert_store, CApath); in SSL_CTX_load_verify_dir()
5594 const char *CApath) in SSL_CTX_load_verify_locations() argument
5596 if (CAfile == NULL && CApath == NULL) in SSL_CTX_load_verify_locations()
5600 if (CApath != NULL && !SSL_CTX_load_verify_dir(ctx, CApath)) in SSL_CTX_load_verify_locations()
/freebsd/crypto/openssl/test/
H A Dssl_old_test.c892 const char *CApath = NULL, *CAfile = NULL; in main() local
1066 CApath = *(++argv); in main()
1537 || SSL_CTX_load_verify_dir(s_ctx, CApath)) in main()
1540 || SSL_CTX_load_verify_dir(s_ctx2, CApath)) in main()
1543 || SSL_CTX_load_verify_dir(c_ctx, CApath)) in main()
/freebsd/crypto/openssl/include/openssl/
H A Dssl.h2186 __owur int SSL_CTX_load_verify_dir(SSL_CTX *ctx, const char *CApath);
2190 const char *CApath);
H A Dssl.h.in2139 __owur int SSL_CTX_load_verify_dir(SSL_CTX *ctx, const char *CApath);
2143 const char *CApath);
/freebsd/contrib/ldns/
H A Dconfigure.ac1008 AC_MSG_NOTICE([Using CApath: $withval])
/freebsd/crypto/openssl/
H A DCHANGES.md17819 * Add the arguments -CAfile and -CApath to the pkcs12 utility.
19516 * Add new -verify -CAfile and -CApath options to the crl program, these