Home
last modified time | relevance | path

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

12

/mirbsd/src/lib/libssl/src/doc/ssl/
DSSL_CTX_load_verify_locations.pod12 int SSL_CTX_load_verify_locations(SSL_CTX *ctx, const char *CAfile,
19 available via B<CAfile> and B<CApath> are trusted.
23 If B<CAfile> is not NULL, it points to a file of CA certificates in PEM
33 The B<CAfile> is processed on execution of the SSL_CTX_load_verify_locations()
50 certificates in B<CAfile>, then those in B<CApath>. Certificate matching
60 is not influenced by the contents of B<CAfile> or B<CApath> and must
66 try to fill in missing certificates from B<CAfile>/B<CApath>, if the
86 rm CAfile.pem
88 openssl x509 -in $i -text >> CAfile.pem
105 The operation failed because B<CAfile> and B<CApath> are NULL or the
DSSL_CTX_set_client_CA_list.pod83 Scan all certificates in B<CAfile> and list them as acceptable CAs:
85 SSL_CTX_set_client_CA_list(ctx,SSL_load_client_CA_file(CAfile));
DSSL_load_client_CA_file.pod34 cert_names = SSL_load_client_CA_file("/path/to/CAfile.pem");
/mirbsd/src/lib/libssl/src/apps/
Dverify.c84 char *CApath=NULL,*CAfile=NULL; in MAIN() local
122 CAfile= *(++argv); in MAIN()
183 if (CAfile) { in MAIN()
184 i=X509_LOOKUP_load_file(lookup,CAfile,X509_FILETYPE_PEM); in MAIN()
186 BIO_printf(bio_err, "Error loading file %s\n", CAfile); in MAIN()
Dx509.c154 static int x509_certify (X509_STORE *ctx,char *CAfile,const EVP_MD *digest,
177 char *infile=NULL,*outfile=NULL,*keyfile=NULL,*CAfile=NULL; in MAIN() local
320 CAfile= *(++argv); in MAIN()
509 { CAkeyfile=CAfile; } in MAIN()
657 xca=load_cert(bio_err,CAfile,CAformat,NULL,e,"CA Certificate"); in MAIN()
972 if (!x509_certify(ctx,CAfile,digest,x,xca, in MAIN()
1100 static ASN1_INTEGER *x509_load_serial(char *CAfile, char *serialfile, int create) in x509_load_serial() argument
1108 ?(strlen(CAfile)+strlen(POSTFIX)+1) in x509_load_serial()
1114 BUF_strlcpy(buf,CAfile,len); in x509_load_serial()
1140 static int x509_certify(X509_STORE *ctx, char *CAfile, const EVP_MD *digest, in x509_certify() argument
[all …]
DCA.sh114 $VERIFY -CAfile $CATOP/$CACERT newcert.pem
119 $VERIFY -CAfile $CATOP/$CACERT $j
Ds_time.c175 static char *CAfile=NULL; variable
198 CAfile=NULL; in s_time_init()
309 CAfile= *(++argv); in parseArgs()
465 if ((!SSL_CTX_load_verify_locations(tm_ctx,CAfile,CApath)) || in MAIN()
Dcrl.c104 char *CAfile = NULL, *CApath = NULL; in MAIN() local
185 CAfile = *(++argv); in MAIN()
240 if (!X509_LOOKUP_load_file(lookup,CAfile,X509_FILETYPE_PEM)) in MAIN()
Dsmime.c103 char *CAfile = NULL, *CApath = NULL; in MAIN() local
242 CAfile = *args; in MAIN()
477 if(!(store = setup_verify(bio_err, CAfile, CApath))) goto end; in MAIN()
Ds_server.c489 char *CApath=NULL,*CAfile=NULL; in MAIN() local
615 CAfile= *(++argv); in MAIN()
785 if ((!SSL_CTX_load_verify_locations(ctx,CAfile,CApath)) || in MAIN()
864 if (CAfile != NULL) in MAIN()
865 SSL_CTX_set_client_CA_list(ctx,SSL_load_client_CA_file(CAfile)); in MAIN()
Ds_client.c254 char *CApath=NULL,*CAfile=NULL,*cipher=NULL; in MAIN() local
404 CAfile= *(++argv); in MAIN()
527 if ((!SSL_CTX_load_verify_locations(ctx,CAfile,CApath)) || in MAIN()
Dpkcs12.c124 char *CApath = NULL, *CAfile = NULL; in MAIN() local
264 CAfile = *args; in MAIN()
518 if (!X509_STORE_load_locations(store, CAfile, CApath)) in MAIN()
Dapps.h280 X509_STORE *setup_verify(BIO *bp, char *CAfile, char *CApath);
Docsp.c119 char *CAfile = NULL, *CApath = NULL; in MAIN() local
295 CAfile = *args; in MAIN()
829 store = setup_verify(bio_err, CAfile, CApath); in MAIN()
Dapps.c1291 X509_STORE *setup_verify(BIO *bp, char *CAfile, char *CApath) in setup_verify() argument
1298 if (CAfile) { in setup_verify()
1299 if(!X509_LOOKUP_load_file(lookup,CAfile,X509_FILETYPE_PEM)) { in setup_verify()
1300 BIO_printf(bp, "Error loading file %s\n", CAfile); in setup_verify()
/mirbsd/src/lib/libssl/src/doc/apps/
Dcrl.pod20 [B<-CAfile file>]
77 =item B<-CAfile file>
Ds_time.pod16 [B<-CAfile filename>]
74 =item B<-CAfile file>
133 …openssl s_time -connect servername:443 -www / -CApath yourdir -CAfile yourfile.pem -cipher commonc…
Docsp.pod31 [B<-CAfile file>]
135 =item B<-CAfile file>, B<-CApath pathname>
279 certificates used to build the chain can be specified by the B<CAfile>
315 Normally only the B<-CApath>, B<-CAfile> and (if the responder is a 'global
Dverify.pod11 [B<-CAfile file>]
37 =item B<-CAfile file>
318 B<-CAfile> option) or a directory (as specified by B<-CApath>. If they occur in both then only
Ds_client.pod16 [B<-CAfile filename>]
79 =item B<-CAfile file>
Ds_server.pod27 [B<-CAfile filename>]
126 =item B<-CAfile file>
/mirbsd/src/lib/libssl/src/crypto/threads/
Dmttest.c163 char *CApath=NULL,*CAfile=NULL; in main() local
205 CAfile= *(++argv); in main()
284 if ( (!SSL_CTX_load_verify_locations(s_ctx,CAfile,CApath)) || in main()
286 (!SSL_CTX_load_verify_locations(c_ctx,CAfile,CApath)) || in main()
/mirbsd/src/lib/libssl/src/ssl/
Dssltest.c366 char *CApath=NULL,*CAfile=NULL; in main() local
539 CAfile= *(++argv); in main()
726 if ( (!SSL_CTX_load_verify_locations(s_ctx,CAfile,CApath)) || in main()
728 (!SSL_CTX_load_verify_locations(c_ctx,CAfile,CApath)) || in main()
Dssl_task.c201 char *CApath=NULL,*CAfile=NULL; in main() local
Dssl_lib.c2190 int SSL_CTX_load_verify_locations(SSL_CTX *ctx, const char *CAfile, in SSL_CTX_load_verify_locations() argument
2194 r=X509_STORE_load_locations(ctx->cert_store,CAfile,CApath); in SSL_CTX_load_verify_locations()

12