| /freebsd/crypto/openssl/doc/man3/ |
| H A D | SSL_CTX_load_verify_locations.pod | 15 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 D | ts.c | 64 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 D | verify.c | 98 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 D | crl.c | 112 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 D | s_time.c | 139 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 D | smime.c | 208 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 D | pkcs12.c | 224 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 D | ocsp.c | 276 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 D | cms.c | 360 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 D | s_server.c | 1122 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 D | s_client.c | 946 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 D | apps.h | 161 const char *CApath, int noCApath, 165 const char *CApath, int noCApath,
|
| /freebsd/crypto/openssl/apps/lib/ |
| H A D | apps.c | 96 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 D | openssl-verification-options.pod | 215 =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 D | openssl-crl.pod.in | 100 This option is implicitly enabled if any of B<-CApath>, B<-CAfile>
|
| H A D | openssl-ts.pod.in | 57 [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 D | openssl-s_time.pod.in | 142 …openssl s_time -connect servername:443 -www / -CApath yourdir -CAfile yourfile.pem -cipher commonc…
|
| H A D | openssl-ocsp.pod.in | 435 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 D | ssl_conf.c | 494 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 D | ssl_lib.c | 5582 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 D | ssl_old_test.c | 892 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 D | ssl.h | 2186 __owur int SSL_CTX_load_verify_dir(SSL_CTX *ctx, const char *CApath); 2190 const char *CApath);
|
| H A D | ssl.h.in | 2139 __owur int SSL_CTX_load_verify_dir(SSL_CTX *ctx, const char *CApath); 2143 const char *CApath);
|
| /freebsd/contrib/ldns/ |
| H A D | configure.ac | 1008 AC_MSG_NOTICE([Using CApath: $withval])
|
| /freebsd/crypto/openssl/ |
| H A D | CHANGES.md | 17819 * Add the arguments -CAfile and -CApath to the pkcs12 utility. 19516 * Add new -verify -CAfile and -CApath options to the crl program, these
|