Home
last modified time | relevance | path

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

123

/netbsd-src/crypto/external/bsd/openssl/dist/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
78 If B<CApath> is not NULL, it points to a directory containing CA certificates
87 The certificates in B<CApath> are only looked up when required, e.g. when
92 will search for suitable certificates first in B<CAfile>, then in B<CApath>.
99 directory, it's generally treated the same way as a B<CApath>.
103 is not influenced by the contents of B<CAfile> or B<CApath> and must
109 try to fill in missing certificates from B<CAfile>/B<CApath>, if the
131 The operation failed because B<CAfile> and B<CApath> are NULL or the
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/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>:
/netbsd-src/crypto/external/bsd/openssl/dist/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
265 CApath = opt_arg(); in ts_main()
338 CApath, CAfile, CAstore, untrusted, in ts_main()
851 const char *CApath, const char *CAfile, in verify_command() argument
872 CApath, CAfile, CAstore, untrusted, in verify_command()
898 const char *CApath, const char *CAfile, in create_verify_ctx() argument
950 create_cert_store(CApath, CAfile, CAstore, vpm)) 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
138 CApath = opt_arg(); in crl_main()
225 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()
262 if (!ctx_set_verify_locations(ctx, CAfile, noCAfile, CApath, noCApath, in s_time_main()
H A Dpkcs12.c175 const char *CApath = NULL, *CAfile = NULL, *CAstore = NULL, *prog; in pkcs12_main() local
326 CApath = opt_arg(); in pkcs12_main()
395 if (CApath != NULL) in pkcs12_main()
601 if ((store = setup_verify(CAfile, noCAfile, CApath, noCApath, in pkcs12_main()
/netbsd-src/crypto/external/bsd/openssl.old/dist/apps/
H A Dts.c66 const char *CApath, const char *CAfile, const char *untrusted,
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()
820 const char *CApath, const char *CAfile, const char *untrusted, in verify_command() argument
840 CApath, CAfile, untrusted, in verify_command()
866 const char *CApath, const char *CAfile, in create_verify_ctx() argument
915 if (TS_VERIFY_CTX_set_store(ctx, create_cert_store(CApath, CAfile, vpm)) in create_verify_ctx()
[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.h471 X509_STORE *setup_verify(const char *CAfile, const char *CApath,
474 const char *CApath, int noCAfile,
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()
/netbsd-src/external/ibm-public/postfix/dist/src/tls/
H A Dtls_proxy_server_scan.c105 VSTRING *CApath = vstring_alloc(25); in tls_proxy_server_init_scan() local
130 RECV_ATTR_STR(TLS_ATTR_CAPATH, CApath), in tls_proxy_server_init_scan()
150 props->CApath = vstring_export(CApath); in tls_proxy_server_init_scan()
180 myfree((void *) props->CApath); in tls_proxy_server_init_free()
H A Dtls_certkey.c505 const char *CApath) in tls_set_ca_certificate_info() argument
509 if (*CApath == 0) in tls_set_ca_certificate_info()
510 CApath = 0; in tls_set_ca_certificate_info()
518 if (CAfile || CApath) { in tls_set_ca_certificate_info()
519 if (!SSL_CTX_load_verify_locations(ctx, CAfile, CApath)) { in tls_set_ca_certificate_info()
522 CA_PATH_ARGS(CAfile, CApath), in tls_set_ca_certificate_info()
523 CA_PATH_ARGS(CApath, 0)); in tls_set_ca_certificate_info()
H A Dtls_proxy_client_scan.c241 myfree((void *) props->CApath); in tls_proxy_client_init_free()
265 VSTRING *CApath = vstring_alloc(25); in tls_proxy_client_init_scan() local
288 RECV_ATTR_STR(TLS_ATTR_CAPATH, CApath), in tls_proxy_client_init_scan()
303 props->CApath = vstring_export(CApath); in tls_proxy_client_init_scan()
H A Dtls_proxy_server_print.c100 STRING_OR_EMPTY(props->CApath)), in tls_proxy_server_init_print()
/netbsd-src/crypto/external/bsd/openssl.old/dist/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>
/netbsd-src/external/ibm-public/postfix/dist/src/posttls-finger/
H A Dposttls-finger.c486 char *CApath; /* Trusted public CAs */ member
810 CApath = state->CApath, in starttls()
1799 myfree(state->CApath); in cleanup()
1871 CApath = state->CApath, in tls_init()
1914 state->CApath = mystrdup(""); in parse_options()
2042 myfree(state->CApath); in parse_options()
2043 state->CApath = mystrdup(optarg); in parse_options()
/netbsd-src/crypto/external/bsd/openssl/dist/apps/include/
H A Dapps.h154 const char *CApath, int noCApath,
158 const char *CApath, int noCApath,

123