Home
last modified time | relevance | path

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

12

/freebsd-13.1/crypto/openssl/doc/man3/
H A DSSL_CTX_load_verify_locations.pod14 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 Dts.c70 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 Dverify.c70 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 Dcrl.c74 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 Ds_time.c97 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 Dsmime.c124 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 Dapps.c130 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 Dapps.h471 X509_STORE *setup_verify(const char *CAfile, const char *CApath,
474 const char *CApath, int noCAfile,
H A Dpkcs12.c136 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 Dcms.c203 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 Docsp.c246 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 Ds_server.c996 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 Ds_client.c899 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 Ds_time.pod16 [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 Dcrl.pod24 [B<-CApath dir>]
99 =item B<-CApath dir>
H A Dverify.pod13 [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 Docsp.pod34 [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 Dpkcs12.pod43 [B<-CApath dir>]
45 [B<-no-CApath>]
295 =item B<-CApath dir>
305 =item B<-no-CApath>
H A Dsmime.pod23 [B<-CApath dir>]
25 [B<-no-CApath>]
185 =item B<-CApath dir>
196 =item B<-no-CApath>
H A Dcms.pod39 [B<-CApath dir>]
41 [B<-no-CApath>]
283 =item B<-CApath dir>
294 =item B<-no-CApath>
H A Ds_server.pod41 [B<-CApath dir>]
43 [B<-no-CApath>]
371 =item B<-CApath dir>
391 =item B<-no-CApath>
H A Ds_client.pod35 [B<-CApath directory>]
40 [B<-no-CApath>]
283 =item B<-CApath directory>
308 =item B<-no-CApath>
H A Dts.pod50 [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 Dssl_conf.c469 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 Dssl.pod271 =item int B<SSL_CTX_load_verify_locations>(SSL_CTX *ctx, const char *CAfile, const char *CApath);

12