| /freebsd-13.1/crypto/openssl/doc/man3/ |
| H A D | SSL_CTX_load_verify_locations.pod | 14 const char *CApath); 26 available via B<CAfile> and B<CApath> are trusted. 59 If B<CApath> is not NULL, it points to a directory containing CA certificates 68 The certificates in B<CApath> are only looked up when required, e.g. when 73 certificates in B<CAfile>, then those in B<CApath>. Certificate matching 83 is not influenced by the contents of B<CAfile> or B<CApath> and must 89 try to fill in missing certificates from B<CAfile>/B<CApath>, if the 111 The operation failed because B<CAfile> and B<CApath> are NULL or the 137 for use as B<CApath>:
|
| /freebsd-13.1/crypto/openssl/apps/ |
| H A D | ts.c | 70 const char *CApath, const char *CAfile, 73 static X509_STORE *create_cert_store(const char *CApath, const char *CAfile, 160 char *inkey = NULL, *signer = NULL, *chain = NULL, *CApath = NULL; in ts_main() local 251 CApath = opt_arg(); in ts_main() 312 CApath, CAfile, untrusted, in ts_main() 840 CApath, CAfile, untrusted, in verify_command() 915 if (TS_VERIFY_CTX_set_store(ctx, create_cert_store(CApath, CAfile, vpm)) in create_verify_ctx() 935 static X509_STORE *create_cert_store(const char *CApath, const char *CAfile, in create_cert_store() argument 944 if (CApath != NULL) { in create_cert_store() 950 i = X509_LOOKUP_add_dir(lookup, CApath, X509_FILETYPE_PEM); in create_cert_store() [all …]
|
| H A D | verify.c | 70 const char *prog, *CApath = NULL, *CAfile = NULL; in verify_main() local 111 CApath = opt_arg(); in verify_main() 165 if (trusted != NULL && (CAfile || CApath)) { in verify_main() 172 if ((store = setup_verify(CAfile, CApath, noCAfile, noCApath)) == NULL) in verify_main()
|
| H A D | crl.c | 74 const char *CAfile = NULL, *CApath = NULL, *prog; in crl_main() local 122 CApath = opt_arg(); in crl_main() 188 if ((store = setup_verify(CAfile, CApath, noCAfile, noCApath)) == NULL) in crl_main()
|
| H A D | s_time.c | 97 char *CApath = NULL, *CAfile = NULL, *cipher = NULL, *ciphersuites = NULL; in s_time_main() local 148 CApath = opt_arg(); in s_time_main() 209 if (!ctx_set_verify_locations(ctx, CAfile, CApath, noCAfile, noCApath)) { in s_time_main()
|
| H A D | smime.c | 124 const char *CAfile = NULL, *CApath = NULL, *prog = NULL; in smime_main() local 303 CApath = opt_arg(); in smime_main() 476 if ((store = setup_verify(CAfile, CApath, noCAfile, noCApath)) == NULL) in smime_main()
|
| H A D | apps.c | 130 const char *CApath, int noCAfile, int noCApath) in ctx_set_verify_locations() argument 132 if (CAfile == NULL && CApath == NULL) { in ctx_set_verify_locations() 140 return SSL_CTX_load_verify_locations(ctx, CAfile, CApath); in ctx_set_verify_locations() 1236 X509_STORE *setup_verify(const char *CAfile, const char *CApath, int noCAfile, int noCApath) in setup_verify() argument 1258 if (CApath != NULL || !noCApath) { in setup_verify() 1262 if (CApath) { in setup_verify() 1263 if (!X509_LOOKUP_add_dir(lookup, CApath, X509_FILETYPE_PEM)) { in setup_verify() 1264 BIO_printf(bio_err, "Error loading directory %s\n", CApath); in setup_verify()
|
| H A D | apps.h | 471 X509_STORE *setup_verify(const char *CAfile, const char *CApath, 474 const char *CApath, int noCAfile,
|
| H A D | pkcs12.c | 136 const char *CApath = NULL, *CAfile = NULL, *prog; in pkcs12_main() local 267 CApath = opt_arg(); in pkcs12_main() 403 if ((store = setup_verify(CAfile, CApath, noCAfile, noCApath)) in pkcs12_main()
|
| H A D | cms.c | 203 const char *CAfile = NULL, *CApath = NULL; in cms_main() local 380 CApath = opt_arg(); in cms_main() 800 if ((store = setup_verify(CAfile, CApath, noCAfile, noCApath)) == NULL) in cms_main()
|
| H A D | ocsp.c | 246 const char *CAfile = NULL, *CApath = NULL; in ocsp_main() local 389 CApath = opt_arg(); in ocsp_main() 755 store = setup_verify(CAfile, CApath, noCAfile, noCApath); in ocsp_main()
|
| H A D | s_server.c | 996 const char *CApath = NULL, *CAfile = NULL, *chCApath = NULL, *chCAfile = NULL; in s_server_main() local 1257 CApath = opt_arg(); in s_server_main() 1887 if (!ctx_set_verify_locations(ctx, CAfile, CApath, noCAfile, noCApath)) { in s_server_main() 1948 if (!ctx_set_verify_locations(ctx2, CAfile, CApath, noCAfile, in s_server_main()
|
| H A D | s_client.c | 899 const char *CApath = NULL, *CAfile = NULL; in s_client_main() local 1389 CApath = opt_arg(); in s_client_main() 1936 if (!ctx_set_verify_locations(ctx, CAfile, CApath, noCAfile, noCApath)) { in s_client_main()
|
| /freebsd-13.1/crypto/openssl/doc/man1/ |
| H A D | s_time.pod | 16 [B<-CApath directory>] 19 [B<-no-CApath>] 82 =item B<-CApath directory> 97 =item B<-no-CApath> 163 …openssl s_time -connect servername:443 -www / -CApath yourdir -CAfile yourfile.pem -cipher commonc…
|
| H A D | crl.pod | 24 [B<-CApath dir>] 99 =item B<-CApath dir>
|
| H A D | verify.pod | 13 [B<-CApath directory>] 15 [B<-no-CApath>] 73 =item B<-CApath directory> 85 =item B<-no-CApath> 211 via B<-CAfile>, B<-CApath> or B<-trusted> before any certificates specified via 243 This option implies the B<-no-CAfile> and B<-no-CApath> options. 245 B<-CApath> options. 756 option) or a directory (as specified by B<-CApath>). If they occur in
|
| H A D | ocsp.pod | 34 [B<-CApath dir>] 37 [B<-no-CApath>] 208 =item B<-CAfile file>, B<-CApath pathname> 217 =item B<-no-CApath> 399 and B<CApath> options or they will be looked for in the standard OpenSSL 435 Normally only the B<-CApath>, B<-CAfile> and (if the responder is a 'global
|
| H A D | pkcs12.pod | 43 [B<-CApath dir>] 45 [B<-no-CApath>] 295 =item B<-CApath dir> 305 =item B<-no-CApath>
|
| H A D | smime.pod | 23 [B<-CApath dir>] 25 [B<-no-CApath>] 185 =item B<-CApath dir> 196 =item B<-no-CApath>
|
| H A D | cms.pod | 39 [B<-CApath dir>] 41 [B<-no-CApath>] 283 =item B<-CApath dir> 294 =item B<-no-CApath>
|
| H A D | s_server.pod | 41 [B<-CApath dir>] 43 [B<-no-CApath>] 371 =item B<-CApath dir> 391 =item B<-no-CApath>
|
| H A D | s_client.pod | 35 [B<-CApath directory>] 40 [B<-no-CApath>] 283 =item B<-CApath directory> 308 =item B<-no-CApath>
|
| H A D | ts.pod | 50 [B<-CApath> trusted_cert_path] 361 =item B<-CApath> trusted_cert_path 373 or B<-CApath> must be specified.
|
| /freebsd-13.1/crypto/openssl/ssl/ |
| H A D | ssl_conf.c | 469 const char *CAfile, const char *CApath, int verify_store) in do_store() argument 485 return X509_STORE_load_locations(*st, CAfile, CApath) > 0; in do_store()
|
| /freebsd-13.1/crypto/openssl/doc/man7/ |
| H A D | ssl.pod | 271 =item int B<SSL_CTX_load_verify_locations>(SSL_CTX *ctx, const char *CAfile, const char *CApath);
|