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.c66 const char *CApath, const char *CAfile,
71 const char *CApath, const char *CAfile,
75 static X509_STORE *create_cert_store(const char *CApath, const char *CAfile,
169 char *inkey = NULL, *signer = NULL, *chain = NULL, *CApath = NULL; in ts_main() local
268 CApath = opt_arg(); in ts_main()
342 CApath, CAfile, CAstore, untrusted, in ts_main()
854 const char *CApath, const char *CAfile, in verify_command() argument
875 CApath, CAfile, CAstore, untrusted, in verify_command()
901 const char *CApath, const char *CAfile, in create_verify_ctx() argument
952 if (!TS_VERIFY_CTX_set0_store(ctx, create_cert_store(CApath, CAfile, in create_verify_ctx()
[all …]
H A Dverify.c87 const char *prog, *CApath = NULL, *CAfile = NULL, *CAstore = NULL; in verify_main() local
129 CApath = opt_arg(); in verify_main()
202 && (CAfile != NULL || CApath != NULL || CAstore != NULL)) { in verify_main()
209 if ((store = setup_verify(CAfile, noCAfile, CApath, noCApath, in verify_main()
H A Dcrl.c89 const char *CAfile = NULL, *CApath = NULL, *CAstore = NULL, *prog; in crl_main() local
139 CApath = opt_arg(); in crl_main()
223 if ((store = setup_verify(CAfile, noCAfile, CApath, noCApath, in crl_main()
H A Ds_time.c121 char *CApath = NULL, *CAfile = NULL, *CAstore = NULL; in s_time_main() local
172 CApath = opt_arg(); in s_time_main()
261 if (!ctx_set_verify_locations(ctx, CAfile, noCAfile, CApath, noCApath, in s_time_main()
H A Dsmime.c174 const char *CAfile = NULL, *CApath = NULL, *CAstore = NULL, *prog = NULL; in smime_main() local
373 CApath = opt_arg(); in smime_main()
569 if ((store = setup_verify(CAfile, noCAfile, CApath, noCApath, in smime_main()
H A Dpkcs12.c184 const char *CApath = NULL, *CAfile = NULL, *CAstore = NULL, *prog; in pkcs12_main() local
350 CApath = opt_arg(); in pkcs12_main()
416 if (CApath != NULL) in pkcs12_main()
625 if ((store = setup_verify(CAfile, noCAfile, CApath, noCApath, in pkcs12_main()
H A Docsp.c232 const char *CAfile = NULL, *CApath = NULL, *CAstore = NULL; in ocsp_main() local
390 CApath = opt_arg(); in ocsp_main()
799 store = setup_verify(CAfile, noCAfile, CApath, noCApath, in ocsp_main()
H A Dcms.c300 const char *CAfile = NULL, *CApath = NULL, *CAstore = NULL; in cms_main() local
490 CApath = opt_arg(); in cms_main()
973 if ((store = setup_verify(CAfile, noCAfile, CApath, noCApath, in cms_main()
H A Ds_server.c1026 const char *CApath = NULL, *CAfile = NULL, *CAstore = NULL; in s_server_main() local
1298 CApath = opt_arg(); in s_server_main()
2028 if (!ctx_set_verify_locations(ctx, CAfile, noCAfile, CApath, noCApath, in s_server_main()
2091 if (!ctx_set_verify_locations(ctx2, CAfile, noCAfile, CApath, in s_server_main()
H A Ds_client.c862 const char *CApath = NULL, *CAfile = NULL, *CAstore = NULL; in s_client_main() local
1408 CApath = opt_arg(); in s_client_main()
2026 if (!ctx_set_verify_locations(ctx, CAfile, noCAfile, CApath, noCApath, in s_client_main()
/freebsd/crypto/openssl/apps/include/
H A Dapps.h162 const char *CApath, int noCApath,
166 const char *CApath, int noCApath,
/freebsd/crypto/openssl/apps/lib/
H A Dapps.c144 const char *CApath, int noCApath, in ctx_set_verify_locations() argument
147 if (CAfile == NULL && CApath == NULL && CAstore == NULL) { in ctx_set_verify_locations()
160 if (CApath != NULL && !SSL_CTX_load_verify_dir(ctx, CApath)) in ctx_set_verify_locations()
1431 const char *CApath, int noCApath, in setup_verify() argument
1462 if (CApath != NULL || !noCApath) { in setup_verify()
1466 if (CApath != NULL) { in setup_verify()
1467 if (X509_LOOKUP_add_dir(lookup, CApath, X509_FILETYPE_PEM) <= 0) { in setup_verify()
1468 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.c497 const char *CAfile, const char *CApath, const char *CAstore, in do_store() argument
533 if (CApath != NULL && !X509_STORE_load_path(*st, CApath)) in do_store()
H A Dssl_lib.c5617 int SSL_CTX_load_verify_dir(SSL_CTX *ctx, const char *CApath) in SSL_CTX_load_verify_dir() argument
5619 return X509_STORE_load_path(ctx->cert_store, CApath); in SSL_CTX_load_verify_dir()
5629 const char *CApath) in SSL_CTX_load_verify_locations() argument
5631 if (CAfile == NULL && CApath == NULL) in SSL_CTX_load_verify_locations()
5635 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.c898 const char *CApath = NULL, *CAfile = NULL; in main() local
1075 CApath = *(++argv); in main()
1549 || SSL_CTX_load_verify_dir(s_ctx, CApath)) in main()
1552 || SSL_CTX_load_verify_dir(s_ctx2, CApath)) in main()
1555 || SSL_CTX_load_verify_dir(c_ctx, CApath)) in main()
/freebsd/crypto/openssl/include/openssl/
H A Dssl.h2180 __owur int SSL_CTX_load_verify_dir(SSL_CTX *ctx, const char *CApath);
2184 const char *CApath);
H A Dssl.h.in2133 __owur int SSL_CTX_load_verify_dir(SSL_CTX *ctx, const char *CApath);
2137 const char *CApath);
/freebsd/contrib/ldns/
H A Dconfigure.ac1008 AC_MSG_NOTICE([Using CApath: $withval])
/freebsd/crypto/openssl/
H A DCHANGES.md17439 * Add the arguments -CAfile and -CApath to the pkcs12 utility.
19136 * Add new -verify -CAfile and -CApath options to the crl program, these