Home
last modified time | relevance | path

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

12

/freebsd-12.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-12.1/crypto/openssl/apps/
H A Dts.c73 const char *CApath, const char *CAfile,
76 static X509_STORE *create_cert_store(const char *CApath, const char *CAfile,
163 char *inkey = NULL, *signer = NULL, *chain = NULL, *CApath = NULL;
254 CApath = opt_arg();
314 CApath, CAfile, untrusted,
842 CApath, CAfile, untrusted,
917 if (TS_VERIFY_CTX_set_store(ctx, create_cert_store(CApath, CAfile, vpm))
937 static X509_STORE *create_cert_store(const char *CApath, const char *CAfile,
946 if (CApath != NULL) {
952 i = X509_LOOKUP_add_dir(lookup, CApath, X509_FILETYPE_PEM);
[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.c96 char *CApath = NULL, *CAfile = NULL, *cipher = NULL, *ciphersuites = NULL; in s_time_main() local
147 CApath = opt_arg(); in s_time_main()
208 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()
1230 X509_STORE *setup_verify(const char *CAfile, const char *CApath, int noCAfile, int noCApath) in setup_verify() argument
1252 if (CApath != NULL || !noCApath) { in setup_verify()
1256 if (CApath) { in setup_verify()
1257 if (!X509_LOOKUP_add_dir(lookup, CApath, X509_FILETYPE_PEM)) { in setup_verify()
1258 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.c139 const char *CApath = NULL, *CAfile = NULL, *prog;
270 CApath = opt_arg();
406 if ((store = setup_verify(CAfile, CApath, noCAfile, noCApath))
H A Dcms.c203 const char *CAfile = NULL, *CApath = NULL; in cms_main() local
380 CApath = opt_arg(); in cms_main()
798 if ((store = setup_verify(CAfile, CApath, noCAfile, noCApath)) == NULL) in cms_main()
H A Docsp.c249 const char *CAfile = NULL, *CApath = NULL;
392 CApath = opt_arg();
758 store = setup_verify(CAfile, CApath, noCAfile, noCApath);
H A Ds_server.c988 const char *CApath = NULL, *CAfile = NULL, *chCApath = NULL, *chCAfile = NULL; in s_server_main() local
1249 CApath = opt_arg(); in s_server_main()
1879 if (!ctx_set_verify_locations(ctx, CAfile, CApath, noCAfile, noCApath)) { in s_server_main()
1940 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
1368 CApath = opt_arg(); in s_client_main()
1906 if (!ctx_set_verify_locations(ctx, CAfile, CApath, noCAfile, noCApath)) { in s_client_main()
/freebsd-12.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>
208 via B<-CAfile>, B<-CApath> or B<-trusted> before any certificates specified via
240 This option implies the B<-no-CAfile> and B<-no-CApath> options.
242 B<-CApath> options.
749 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>]
299 =item B<-CApath dir>
309 =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-12.1/crypto/openssl/ssl/
H A Dssl_conf.c461 const char *CAfile, const char *CApath, int verify_store) in do_store() argument
477 return X509_STORE_load_locations(*st, CAfile, CApath) > 0; in do_store()
/freebsd-12.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